소스 검색

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