瀏覽代碼

FIX redirect after restart panel

Hamidreza Ghavami 1 年之前
父節點
當前提交
5a908b9f58
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/html/xui/settings.html

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

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