mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-19 20:04:32 +09:00
tools/capver: fetch tailcfg.go from raw.githubusercontent.com
github.com/raw only redirects there, and its edge serves stale 504s.
This commit is contained in:
1 parent
dc9513f472
commit
4a531ec7a2
1 file changed
+1
-1
@@ -25,7 +25,7 @@ import (
|
||||
const (
|
||||
ghcrTokenURL = "https://ghcr.io/token?service=ghcr.io&scope=repository:tailscale/tailscale:pull" //nolint:gosec
|
||||
ghcrTagsURL = "https://ghcr.io/v2/tailscale/tailscale/tags/list?n=10000"
|
||||
rawFileURL = "https://github.com/tailscale/tailscale/raw/refs/tags/%s/tailcfg/tailcfg.go"
|
||||
rawFileURL = "https://raw.githubusercontent.com/tailscale/tailscale/refs/tags/%s/tailcfg/tailcfg.go"
|
||||
outputFile = "../../hscontrol/capver/capver_generated.go"
|
||||
testFile = "../../hscontrol/capver/capver_test_data.go"
|
||||
fallbackCapVer = 90
|
||||
|
||||
Reference in new issue
Block a user