Przeglądaj źródła

chore: mark `2053` port as unsecured

Shishkevich D. 18 godzin temu
rodzic
commit
c8c0e77714
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      web/html/settings.html

+ 1 - 1
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) {