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/xray.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'web/html/xui/xray.html') diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 0ceafeab..6f21d005 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -63,6 +63,15 @@ + + + + @@ -664,6 +673,7 @@ saveBtnDisable: true, refreshing: false, restartResult: '', + showAlert: false, isMobile: window.innerWidth <= 768, advSettings: 'xraySetting', cm: null, @@ -1293,6 +1303,9 @@ } }, async mounted() { + if (window.location.protocol !== "https:") { + this.showAlert = true; + } await this.getXraySetting(); await this.getXrayResult(); await this.getOutboundsTraffic(); -- cgit v1.2.3