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() {