FIX redirect after restart panel

This commit is contained in:
Hamidreza Ghavami 2023-05-14 06:19:18 +04:30
parent be907d7206
commit 713420dabe

View file

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