From f3eb4f055db80372298d60c073870a5af1431785 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 21 Feb 2024 12:06:49 +0330 Subject: SSL Security Alert Co-Authored-By: Alireza Ahmadi --- web/html/xui/settings.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'web/html/xui/settings.html') diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 533553c5..a7c72f73 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -75,6 +75,15 @@ + + + + @@ -444,12 +453,15 @@ }, }, async mounted() { + if (window.location.protocol !== "https:") { + this.showAlert = true; + } await this.getAllSetting(); while (true) { - await PromiseUtil.sleep(600); + await PromiseUtil.sleep(1000); this.saveBtnDisable = this.oldAllSetting.equals(this.allSetting); } - }, + } }); -- cgit v1.2.3