Update sites.inc

This commit is contained in:
2023-05-24 23:11:56 -05:00
parent f0e4aab834
commit a8ce2ad000

View File

@@ -444,7 +444,8 @@ VIEWSITEINFO(){
cw_spc3=7
cw_spc4=7
cw_spc5=7
cw_spc6=7
cw_spc6=8
cw_spc7=15
echo -e "${idsCL[LightGreen]}Site Information ${idsCL[Default]}"
@@ -460,7 +461,7 @@ VIEWSITEINFO(){
msg4="HSTS"; c=0; spc4=''; spct=$((${cw_spc4}-${#msg4})); until [ $c = ${spct} ]; do spc4="${spc4} "; c=`expr $c + 1`; done
msg5="WBSKT"; c=0; spc5=''; spct=$((${cw_spc5}-${#msg5})); until [ $c = ${spct} ]; do spc5="${spc5} "; c=`expr $c + 1`; done
msg6="LOCK"; c=0; spc6=''; spct=$((${cw_spc6}-${#msg6})); until [ $c = ${spct} ]; do spc6="${spc6} "; c=`expr $c + 1`; done
msg7="Proxy Host";
msg7="Proxy Address & Port";
echo -e "${idsST[Bold]}${idsCL[LightCyan]}${msg1}${spc1}${msg2}${spc2}${msg3}${spc3}${msg4}${spc4}${msg5}${spc5}${msg6}${spc6}${msg7}${idsST[Reset]}${idsCL[Default]}"
DIVIDER false yellow 90
else
@@ -474,7 +475,8 @@ VIEWSITEINFO(){
server=${server#*\"}; server=${server%\"*}
port=$(grep 'set $port' ${sitefile})
port=${port##* }; port=${port%;*}
proxyhost="${server} : ${port}"
c=0; spc7=''; spct=$((${cw_spc7}-${#server})); until [ $c = ${spct} ]; do spc7="${spc7} "; c=`expr $c + 1`; done
proxyhost="${server}${spc7}: ${port}"
else
type='HTTP'
fi