Spaces:
Paused
Paused
Update custom-entrypoint.sh
Browse files- custom-entrypoint.sh +1 -1
custom-entrypoint.sh
CHANGED
|
@@ -15,7 +15,7 @@ while [[ -z "$PUBLIC_TCP" ]]; do
|
|
| 15 |
sleep 2
|
| 16 |
|
| 17 |
# Get tunnels JSON safely
|
| 18 |
-
JSON=$(curl -s http://127.0.0.1:
|
| 19 |
|
| 20 |
# Try parsing TCP tunnel
|
| 21 |
PUBLIC_TCP=$(echo "$JSON" | python3 -c "
|
|
|
|
| 15 |
sleep 2
|
| 16 |
|
| 17 |
# Get tunnels JSON safely
|
| 18 |
+
JSON=$(curl -s http://127.0.0.1:7860/api/tunnels || echo "{}")
|
| 19 |
|
| 20 |
# Try parsing TCP tunnel
|
| 21 |
PUBLIC_TCP=$(echo "$JSON" | python3 -c "
|