diff --git a/web/html/index.html b/web/html/index.html
index 867b6648..4089e6a6 100644
--- a/web/html/index.html
+++ b/web/html/index.html
@@ -182,7 +182,7 @@
-
+
{{ i18n "pages.index.logs" }}
@@ -429,7 +429,8 @@
- xraylogModal.visible = false"
:class="themeSwitcher.currentTheme"
width="80vw"
@@ -724,7 +725,8 @@ ${dateTime}
backupModal,
loadingTip: '{{ i18n "loading"}}',
showAlert: false,
- showIp: false
+ showIp: false,
+ ipLimitEnable: false,
},
methods: {
loading(spinning, tip = '{{ i18n "loading"}}') {
@@ -875,6 +877,12 @@ ${dateTime}
if (window.location.protocol !== "https:") {
this.showAlert = true;
}
+
+ const msg = await HttpUtil.post('/panel/setting/defaultSettings');
+ if (msg.success) {
+ this.ipLimitEnable = msg.obj.ipLimitEnable;
+ }
+
while (true) {
try {
await this.getStatus();