From 18e13f6ffa61d89eb084154f2a42bc300e07e2f5 Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Fri, 16 Jan 2026 14:15:41 +0100 Subject: [PATCH] Link to headscale.net for docs --- hscontrol/templates/oidc_callback.go | 2 +- hscontrol/templates_consistency_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/", }, },