feat(tunnel): configure Cloudflare tunnel runner script with token

This commit is contained in:
ssbg04 committed 2026-08-18 18:24:37 +08:00
1 parent 14951a31a7
commit b4b4df9d1f
1 file changed
+2 -4
+2 -4
View File
@@ -10,8 +10,6 @@ if not exist "%~dp0bin\cloudflared.exe" (
curl.exe -L -o "%~dp0bin\cloudflared.exe" "https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe" curl.exe -L -o "%~dp0bin\cloudflared.exe" "https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe"
) )
echo [INFO] Connecting to Cloudflare global network... echo [INFO] Connecting to Cloudflare Tunnel...
echo [INFO] Look for the 'https://*.trycloudflare.com' URL below: "%~dp0bin\cloudflared.exe" tunnel run --token eyJhIjoiZWRhMWQ4ZTc1MzNjMjBiMDcyNmM0ZGU1OWE5YTMxYzgiLCJ0IjoiZjJhOGYyYmMtMWE1YS00MmNmLWJjZTUtZWMzYzAxNzY4M2IyIiwicyI6Ik9EUXpZMkUyT0RNdE0yVmxNaTAwTjJVMUxXRmlZVFl0TkRKak1HSmpOR0l4WTJReSJ9
echo.
"%~dp0bin\cloudflared.exe" tunnel --url http://localhost:18484
pause pause