Merge pull request #4 from LierJeo/fix-wsurl

fix: entrypoint sed 分隔符导致反向 ws-url 设置失败
This commit is contained in:
风宝宝 2024-04-15 21:21:04 +08:00 committed by GitHub
commit 2fce4c733e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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