This commit is contained in:
Alireza Ahmadi
2023-05-22 23:28:10 +02:00

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