diff --git a/entrypoint.sh b/entrypoint.sh index 5dd8330..c5abc50 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -50,7 +50,7 @@ if [ ! -f "$CONFIG_PATH" ]; then sed -i "s/WSR_ENABLE/false/" $CONFIG_PATH fi - if [ "WS_URLS" ]; then + if [ "&WS_URLS" ]; then sed -i "s/WS_URLS/$WS_URLS/" $CONFIG_PATH else sed -i "s/\"WS_URLS\"/\"\"/" $CONFIG_PATH @@ -94,4 +94,4 @@ if [ ! -f "$CONFIG_PATH" ]; then fi bash /root/napcat.sh -q $ACCOUNT & -exec supervisord \ No newline at end of file +exec supervisord