Skip to content

Commit

Permalink
FIX redirect after restart panel
Browse files Browse the repository at this point in the history
  • Loading branch information
hamid-gh98 committed May 14, 2023
1 parent 61288db commit 5a908b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/html/xui/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ <h2 style="color: inherit; font-weight: bold; font-size: 18px; padding: 10px 20p
if (msg.success) {
this.loading(true);
await PromiseUtil.sleep(5000);
location.reload();
window.location.replace(this.allSetting.webBasePath + "panel/settings");
}
},
async getUserSecret() {
Expand Down

0 comments on commit 5a908b9

Please sign in to comment.