mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-30 00:09:42 +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…
Reference in New Issue
Block a user