Restore default cloudflared token fallback for ease of use in private repo
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

This commit is contained in:
Claude Code
2026-07-18 13:30:57 -07:00
parent c62970061e
commit 48eb64a42c
2 changed files with 4 additions and 4 deletions

View File

@@ -22,8 +22,8 @@ if (-not $token) {
}
}
if (-not $token) {
Write-Error "[Tunnel] ERROR: No Cloudflare tunnel token configured. Please set the token via the AF_TUNNEL_TOKEN environment variable or data\cloudflared-token.txt."
exit 1
# Builtin fallback (matches server/config.go builtinCloudflareTunnelToken)
$token = 'eyJhIjoiODk1NDc5YWIzNTQwZGFhNmQ2MWFlNzAyYTUxNjQ0NzUiLCJ0IjoiYWYzNzY5NGYtNDA4Yy00ZWI3LWE2M2MtMzM5MzQ1MjI3NWIwIiwicyI6IlpEa3lPVE5pWWpjdE9USXlZeTAwTlRjNExUaGlZVGN0WWpGaFlUWmtOR05rTXpjMyJ9'
}
$bin = Join-Path $DeckRoot 'tools\cloudflared.exe'