mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update mw.tpl
This commit is contained in:
@@ -352,7 +352,7 @@ mw_common_proxy(){
|
||||
if [ "$LOCAL_ADDR" != "common" ];then
|
||||
ChooseProxyURL
|
||||
|
||||
if [ "$DOMAIN" != "https://" ];then
|
||||
if [ "$HTTP_PREFIX" != "https://" ];then
|
||||
DOMAIN=`echo $HTTP_PREFIX | sed 's|https://||g'`
|
||||
DOMAIN=`echo $DOMAIN | sed 's|/||g'`
|
||||
ping -c 3 $DOMAIN > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user