mirror of https://github.com/stilleshan/subweb.git
Update start.sh
This commit is contained in:
parent
5adbb9f086
commit
af8a259e5b
2
start.sh
2
start.sh
|
@ -12,7 +12,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SHORT_URL ]; then
|
if [ $SHORT_URL ]; then
|
||||||
echo "当前短链接地址为: $API_URL"
|
echo "当前短链接地址为: $SHORT_URL"
|
||||||
sed -i "s#https://s.ops.ci#$SHORT_URL#g" /usr/share/nginx/html/conf/config.js
|
sed -i "s#https://s.ops.ci#$SHORT_URL#g" /usr/share/nginx/html/conf/config.js
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue