mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Added comment clarifying registration API
This commit is contained in:
parent
804d70386d
commit
d586b9d285
1 changed files with 3 additions and 0 deletions
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…
Reference in a new issue