Merge pull request #509 from hamid-gh98/main

FIX restart redirect :)
This commit is contained in:
Hamidreza
2023-05-22 21:32:17 +03:30
committed by GitHub

View File

@@ -527,8 +527,8 @@
if (this.allSetting.webCertFile !== "") { if (this.allSetting.webCertFile !== "") {
protocol = "https://"; protocol = "https://";
} }
const { host, pathname } = window.location; const { host } = window.location;
window.location.replace(protocol + host + this.allSetting.webBasePath + pathname.slice(1)); window.location.replace(protocol + host + this.allSetting.webBasePath + "panel/settings");
} }
}, },
async fetchUserSecret() { async fetchUserSecret() {