Parcourir la source

FIX redirect after restart panel

Hamidreza Ghavami il y a 1 an
Parent
commit
5a908b9f58
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      web/html/xui/settings.html

+ 1 - 1
web/html/xui/settings.html

@@ -358,7 +358,7 @@
                 if (msg.success) {
                 if (msg.success) {
                     this.loading(true);
                     this.loading(true);
                     await PromiseUtil.sleep(5000);
                     await PromiseUtil.sleep(5000);
-                    location.reload();
+                    window.location.replace(this.allSetting.webBasePath + "panel/settings");
                 }
                 }
             },
             },
             async getUserSecret() {
             async getUserSecret() {