Change webPort alert condition from 2053 to 443

This commit is contained in:
MehdiSele 2026-04-28 22:29:54 +03:30 committed by GitHub
parent b2736b2f18
commit 5cf945ec17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -580,7 +580,7 @@
if (!this.allSetting) return []; if (!this.allSetting) return [];
var alerts = [] var alerts = []
if (window.location.protocol !== "https:") alerts.push('{{ i18n "secAlertSSL" }}'); if (window.location.protocol !== "https:") alerts.push('{{ i18n "secAlertSSL" }}');
if (this.allSetting.webPort === 2053) alerts.push('{{ i18n "secAlertPanelPort" }}'); if (this.allSetting.webPort === 443) alerts.push('{{ i18n "secAlertPanelPort" }}');
panelPath = window.location.pathname.split('/').length < 4 panelPath = window.location.pathname.split('/').length < 4
if (panelPath && this.allSetting.webBasePath == '/') alerts.push('{{ i18n "secAlertPanelURI" }}'); if (panelPath && this.allSetting.webBasePath == '/') alerts.push('{{ i18n "secAlertPanelURI" }}');
if (this.allSetting.subEnable) { if (this.allSetting.subEnable) {
@ -609,4 +609,4 @@
} }
}); });
</script> </script>
{{ template "page/body_end" .}} {{ template "page/body_end" .}}