diff --git a/hscontrol/templates/oidc_callback.go b/hscontrol/templates/oidc_callback.go index 2b68b703..16c08fde 100644 --- a/hscontrol/templates/oidc_callback.go +++ b/hscontrol/templates/oidc_callback.go @@ -57,7 +57,7 @@ func OIDCCallback(user, verb string) *elem.Element { P(elem.Text("Check out the documentation to learn more about headscale and Tailscale:")), Ul( elem.Li(nil, - externalLink("https://github.com/juanfont/headscale/tree/main/docs", "Headscale documentation"), + externalLink("https://headscale.net/stable/", "Headscale documentation"), ), elem.Li(nil, externalLink("https://tailscale.com/kb/", "Tailscale knowledge base"), diff --git a/hscontrol/templates_consistency_test.go b/hscontrol/templates_consistency_test.go index 65d14346..369639cc 100644 --- a/hscontrol/templates_consistency_test.go +++ b/hscontrol/templates_consistency_test.go @@ -119,7 +119,7 @@ func TestTemplateExternalLinkSecurity(t *testing.T) { name: "OIDC Callback", html: templates.OIDCCallback("test@example.com", "Logged in").Render(), externalURLs: []string{ - "https://github.com/juanfont/headscale/tree/main/docs", + "https://headscale.net/stable/", "https://tailscale.com/kb/", }, },