Update entrypoint.sh

This commit is contained in:
wling 2024-04-14 00:03:19 +08:00 committed by GitHub
parent 78865a30f2
commit 9523fd0922
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ if [ ! -f "$CONFIG_PATH" ]; then
sed -i "s/WSR_ENABLE/false/" $CONFIG_PATH sed -i "s/WSR_ENABLE/false/" $CONFIG_PATH
fi fi
if [ "WS_URLS" ]; then if [ "&WS_URLS" ]; then
sed -i "s/WS_URLS/$WS_URLS/" $CONFIG_PATH sed -i "s/WS_URLS/$WS_URLS/" $CONFIG_PATH
else else
sed -i "s/\"WS_URLS\"/\"\"/" $CONFIG_PATH sed -i "s/\"WS_URLS\"/\"\"/" $CONFIG_PATH