1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-10-17 20:05:55 +02:00

Added comment clarifying registration API

This commit is contained in:
Juan Font Alonso 2022-08-11 12:16:50 +02:00
parent 804d70386d
commit d586b9d285

3
api.go
View File

@ -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,