Update mw.tpl

pull/796/head
dami 4 weeks ago
parent 9e3ad237b5
commit bc98a80de6
  1. 2
      scripts/init.d/mw.tpl

@ -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

Loading…
Cancel
Save