Update sites.inc

This commit is contained in:
2023-05-25 21:59:13 -05:00
parent 9d4842b68f
commit c8856e208c

View File

@@ -573,13 +573,17 @@ SITEINFO(){
echo -e "\033[K${idsCL[Cyan]}7) Proxy Server: ${idsST[Bold]}${server}${idsST[Reset]}"
echo -e "\033[K${idsCL[Cyan]}8) Proxy Scheme: ${idsST[Bold]}${scheme}${idsST[Reset]}"
echo -e "\033[K${idsCL[Cyan]}9) Proxy Port: ${idsST[Bold]}${port}${idsST[Reset]}"
else
echo -e "\033[K"
echo -e "\033[K"
echo -e "\033[K"
fi
if [ "${edit}" != "s" ]; then
echo -en "\n\033[K${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}"
read -n 1 edit
case "${edit}" in
1) [ "${type}" == "HTTP" ] && hsts='Proxy' || hsts='HTTP';;
1) [ "${type}" == "HTTP" ] && type='Proxy' || type='HTTP';;
3) [ "${hsts}" == "-" ] && hsts='Yes' || hsts='-';;
4) [ "${wbskt}" == "-" ] && wbskt='Yes' || wbskt='-';;
5) [ "${explt}" == "-" ] && explt='Yes' || explt='-';;