Files
SmartSpeaker/dev-server/run-tunnel.bat
T

8 lines
292 B
Batchfile

@echo off
set /p tunnel_name="Enter Cloudflare tunnel name [default: home dev]: "
if "%tunnel_name%"=="" set tunnel_name=home dev
echo Running Cloudflare tunnel "%tunnel_name%" -> http://localhost:8901...
"C:\Program Files (x86)\cloudflared\cloudflared.exe" tunnel run "%tunnel_name%"
pause