Link to headscale.net for docs
Some checks failed
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Check Generated Files / check-generated (push) Waiting to run
NixOS Module Tests / nix-module-check (push) Waiting to run
Tests / test (push) Waiting to run
Deploy docs / deploy (push) Has been cancelled

This commit is contained in:
Florian Preinstorfer 2026-01-16 14:15:41 +01:00 committed by nblock
parent a445278f76
commit 18e13f6ffa
2 changed files with 2 additions and 2 deletions

View file

@ -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:")), P(elem.Text("Check out the documentation to learn more about headscale and Tailscale:")),
Ul( Ul(
elem.Li(nil, elem.Li(nil,
externalLink("https://github.com/juanfont/headscale/tree/main/docs", "Headscale documentation"), externalLink("https://headscale.net/stable/", "Headscale documentation"),
), ),
elem.Li(nil, elem.Li(nil,
externalLink("https://tailscale.com/kb/", "Tailscale knowledge base"), externalLink("https://tailscale.com/kb/", "Tailscale knowledge base"),

View file

@ -119,7 +119,7 @@ func TestTemplateExternalLinkSecurity(t *testing.T) {
name: "OIDC Callback", name: "OIDC Callback",
html: templates.OIDCCallback("test@example.com", "Logged in").Render(), html: templates.OIDCCallback("test@example.com", "Logged in").Render(),
externalURLs: []string{ externalURLs: []string{
"https://github.com/juanfont/headscale/tree/main/docs", "https://headscale.net/stable/",
"https://tailscale.com/kb/", "https://tailscale.com/kb/",
}, },
}, },