mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-31 16:11:03 +01:00 
			
		
		
		
	Added comment clarifying registration API
This commit is contained in:
		
							parent
							
								
									804d70386d
								
							
						
					
					
						commit
						d586b9d285
					
				
							
								
								
									
										3
									
								
								api.go
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								api.go
									
									
									
									
									
								
							| @ -108,6 +108,9 @@ var registerWebAPITemplate = template.Must( | ||||
| 
 | ||||
| // RegisterWebAPI shows a simple message in the browser to point to the CLI | ||||
| // Listens in /register/:nkey. | ||||
| // | ||||
| // This is not part of the Tailscale control API, as we could send whatever URL | ||||
| // in the RegisterResponse.AuthURL field. | ||||
| func (h *Headscale) RegisterWebAPI( | ||||
| 	writer http.ResponseWriter, | ||||
| 	req *http.Request, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user