Merge pull request #329 from hamid-gh98/main

FIX restart redirect :)
This commit is contained in:
Alireza Ahmadi
2023-05-22 22:32:12 +02:00
committed by GitHub

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