From 9523fd092272b2cead73a06d03a1af7870dfc354 Mon Sep 17 00:00:00 2001 From: wling <90316914+wling-art@users.noreply.github.com> Date: Sun, 14 Apr 2024 00:03:19 +0800 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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