|
|
|
@ -225,7 +225,7 @@ mw_update() |
|
|
|
|
if [ "$LOCAL_ADDR" == "common" ];then |
|
|
|
|
curl --insecure -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/master/scripts/update.sh | bash |
|
|
|
|
else |
|
|
|
|
curl --insecure -fsSL https://code.midoks.me/midoks/mdserver-web/raw/branch/dev/scripts/update.sh | bash |
|
|
|
|
curl --insecure -fsSL https://code.midoks.icu/midoks/mdserver-web/raw/branch/dev/scripts/update.sh | bash |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -240,7 +240,7 @@ mw_update_dev() |
|
|
|
|
if [ "$LOCAL_ADDR" == "common" ];then |
|
|
|
|
curl --insecure -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/update_dev.sh | bash |
|
|
|
|
else |
|
|
|
|
curl --insecure -fsSL https://code.midoks.me/midoks/mdserver-web/raw/branch/dev/scripts/update_dev.sh | bash |
|
|
|
|
curl --insecure -fsSL https://code.midoks.icu/midoks/mdserver-web/raw/branch/dev/scripts/update_dev.sh | bash |
|
|
|
|
fi |
|
|
|
|
cd /www/server/mdserver-web |
|
|
|
|
} |
|
|
|
|