From a05977440c476fac36822fc45a18e79005a53124 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Mon, 22 May 2023 22:35:19 +0430 Subject: [PATCH] FIX restart redirect :) --- web/html/xui/settings.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 51db87c6..ed9c4cfe 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -454,8 +454,8 @@ if (this.allSetting.webCertFile !== "") { protocol = "https://"; } - const { host, pathname } = window.location; - window.location.replace(protocol + host + this.allSetting.webBasePath + pathname.slice(1)); + const { host } = window.location; + window.location.replace(protocol + host + this.allSetting.webBasePath + "xui/settings"); } }, async resetXrayConfigToDefault() {