Skip to content

Commit

Permalink
FIX restart redirect :)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamid-gh98 committed May 22, 2023
1 parent f6e0e1b commit 3825e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/html/xui/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,8 @@ <h2 class="alert-msg">
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() {
Expand Down

0 comments on commit 3825e36

Please sign in to comment.