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
commit ba278a4269
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -527,8 +527,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 + "panel/settings");
}
},
async fetchUserSecret() {