Spaces:
Sleeping
Sleeping
Somrat Sorkar commited on
Commit ·
7e64775
1
Parent(s): 74e7ef3
Remove invalid pairing config - use default
Browse files
start.sh
CHANGED
|
@@ -157,9 +157,6 @@ if [ -n "$SPACE_HOST" ]; then
|
|
| 157 |
CONFIG_JSON=$(echo "$CONFIG_JSON" | jq ".gateway.controlUi.allowedOrigins = [\"https://${SPACE_HOST}\"]")
|
| 158 |
fi
|
| 159 |
|
| 160 |
-
# Disable pairing for Control UI connections (headless/Docker)
|
| 161 |
-
CONFIG_JSON=$(echo "$CONFIG_JSON" | jq ".gateway.controlUi.pairing = false")
|
| 162 |
-
|
| 163 |
# Telegram (supports multiple user IDs, comma-separated)
|
| 164 |
if [ -n "$TELEGRAM_BOT_TOKEN" ]; then
|
| 165 |
CONFIG_JSON=$(echo "$CONFIG_JSON" | jq '.plugins.entries.telegram = {"enabled": true}')
|
|
|
|
| 157 |
CONFIG_JSON=$(echo "$CONFIG_JSON" | jq ".gateway.controlUi.allowedOrigins = [\"https://${SPACE_HOST}\"]")
|
| 158 |
fi
|
| 159 |
|
|
|
|
|
|
|
|
|
|
| 160 |
# Telegram (supports multiple user IDs, comma-separated)
|
| 161 |
if [ -n "$TELEGRAM_BOT_TOKEN" ]; then
|
| 162 |
CONFIG_JSON=$(echo "$CONFIG_JSON" | jq '.plugins.entries.telegram = {"enabled": true}')
|