mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.tpl
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user