From d586b9d2856c9974c27c14d9fc64a6e3aa003494 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Thu, 11 Aug 2022 12:16:50 +0200 Subject: [PATCH] Added comment clarifying registration API --- api.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api.go b/api.go index a9711e0e..9b711855 100644 --- a/api.go +++ b/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,