Update sites.inc

This commit is contained in:
2023-05-25 21:58:17 -05:00
parent 06d3fcd7b6
commit 9d4842b68f

View File

@@ -563,7 +563,7 @@ SITEINFO(){
until [ "${edit}" = "c" ]; do
echo -e "\033[K${idsCL[Cyan]}!) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}"
echo -e "\033[K${idsCL[Cyan]}!) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}"
echo -e "\033[K${idsCL[Cyan]}1) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}"
echo -e "\033[K${idsCL[Cyan]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}"
echo -e "\033[K${idsCL[Cyan]}3) HSTS Enabled ${idsST[Bold]}${hsts}${idsST[Reset]}"
echo -e "\033[K${idsCL[Cyan]}4) Web Sockets: ${idsST[Bold]}${wbskt}${idsST[Reset]}"
@@ -579,6 +579,7 @@ SITEINFO(){
read -n 1 edit
case "${edit}" in
1) [ "${type}" == "HTTP" ] && hsts='Proxy' || hsts='HTTP';;
3) [ "${hsts}" == "-" ] && hsts='Yes' || hsts='-';;
4) [ "${wbskt}" == "-" ] && wbskt='Yes' || wbskt='-';;
5) [ "${explt}" == "-" ] && explt='Yes' || explt='-';;