FIX restart redirect :)

This commit is contained in:
Hamidreza Ghavami
2023-05-22 22:35:19 +04:30
parent 0bf6987fbc
commit a05977440c

View File

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