mirror of
https://github.com/alireza0/x-ui.git
synced 2026-10-25 05:02:39 +00:00
FIX restart redirect :)
This commit is contained in:
parent
0bf6987fbc
commit
a05977440c
1 changed files with 2 additions and 2 deletions
|
|
@ -454,8 +454,8 @@
|
|||
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 + "xui/settings");
|
||||
}
|
||||
},
|
||||
async resetXrayConfigToDefault() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue