Update mw.tpl

This commit is contained in:
Mr Chen
2024-07-03 16:19:12 +08:00
parent dcca93baef
commit 130da4e311
+2
View File
@@ -246,6 +246,8 @@ mw_update()
mw_update_dev()
{
rm -rf /www/server/mdserver-web/bin
LOCAL_ADDR=common
cn=$(curl -fsSL -m 10 -s http://ipinfo.io/json | grep "\"country\": \"CN\"")
if [ ! -z "$cn" ] || [ "$?" == "0" ] ;then