浏览代码

Merge pull request #509 from hamid-gh98/main

FIX restart redirect :)
Hamidreza 1 年之前
父节点
当前提交
ba278a4269
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/html/xui/settings.html

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