Procházet zdrojové kódy

Merge pull request #509 from hamid-gh98/main

FIX restart redirect :)
Hamidreza před 1 rokem
rodič
revize
ba278a4269
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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() {