From 3825e36ef77e3bf837cec81d046eec2306a001ae Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Mon, 22 May 2023 22:30:35 +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 21e23d4f6b..340e4cefe7 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -527,8 +527,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 + "panel/settings"); } }, async fetchUserSecret() {