Spaces:
Paused
Paused
File size: 411 Bytes
915730f | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/usr/bin/env bash
set -euo pipefail
if ! command -v cloudflared >/dev/null 2>&1; then
echo "cloudflared is not installed."
echo "macOS: brew install cloudflared"
exit 1
fi
echo "Starting temporary public HTTPS tunnel to local engine..."
echo "Keep this terminal open. Open the generated https:// URL on iPhone or put it in HF Space as LOCAL_ENGINE_URL."
cloudflared tunnel --url http://localhost:8000
|