diff --git a/web/html/settings.html b/web/html/settings.html index 840778f5..1c55ea81 100644 --- a/web/html/settings.html +++ b/web/html/settings.html @@ -548,7 +548,7 @@ if (!this.allSetting) return []; var alerts = [] if (window.location.protocol !== "https:") alerts.push('{{ i18n "secAlertSSL" }}'); - if (this.allSetting.webPort == 54321) alerts.push('{{ i18n "secAlertPanelPort" }}'); + if (this.allSetting.webPort === 2053) alerts.push('{{ i18n "secAlertPanelPort" }}'); panelPath = window.location.pathname.split('/').length < 4 if (panelPath && this.allSetting.webBasePath == '/') alerts.push('{{ i18n "secAlertPanelURI" }}'); if (this.allSetting.subEnable) {