修复反向ws连接url错误

This commit is contained in:
ForE 2024-04-15 14:30:27 +08:00
parent ebd0cdcdbf
commit 37c717c325

View File

@ -51,7 +51,7 @@ if [ ! -f "$CONFIG_PATH" ]; then
fi
if [ "$WS_URLS" ]; then
sed -i "s/WS_URLS/$WS_URLS/" $CONFIG_PATH
sed -i "s#WS_URLS#$WS_URLS#" $CONFIG_PATH
else
sed -i "s/\"WS_URLS\"/\"\"/" $CONFIG_PATH
fi