kpi-dashboard / start_tunnel.bat
Admin
Initial HF deploy
04477e7
Raw
History Blame
480 Bytes
@echo off
cd /d "%~dp0"
echo Starting Cloudflare Tunnel...
start /B cloudflared.exe tunnel --url http://localhost:5000 > cf_tunnel_out.txt 2>&1
echo Waiting for URL...
timeout /t 12 /nobreak >nul
echo.
echo ================================================
findstr "https://" cf_tunnel_out.txt | findstr "trycloudflare"
echo ================================================
echo.
echo If URL appears above, open it in your browser.
echo Close this window to stop the tunnel.
pause