feat(tunnel): configure Cloudflare tunnel runner script with token
This commit is contained in:
1 parent
14951a31a7
commit
b4b4df9d1f
1 file changed
+2
-4
@@ -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"
|
||||
)
|
||||
|
||||
echo [INFO] Connecting to Cloudflare global network...
|
||||
echo [INFO] Look for the 'https://*.trycloudflare.com' URL below:
|
||||
echo.
|
||||
"%~dp0bin\cloudflared.exe" tunnel --url http://localhost:18484
|
||||
echo [INFO] Connecting to Cloudflare Tunnel...
|
||||
"%~dp0bin\cloudflared.exe" tunnel run --token eyJhIjoiZWRhMWQ4ZTc1MzNjMjBiMDcyNmM0ZGU1OWE5YTMxYzgiLCJ0IjoiZjJhOGYyYmMtMWE1YS00MmNmLWJjZTUtZWMzYzAxNzY4M2IyIiwicyI6Ik9EUXpZMkUyT0RNdE0yVmxNaTAwTjJVMUxXRmlZVFl0TkRKak1HSmpOR0l4WTJReSJ9
|
||||
pause
|
||||
Reference in new issue
Block a user