FIX restart redirect :)

This commit is contained in:
Hamidreza Ghavami 2023-05-22 22:30:35 +04:30
parent f6e0e1b3cf
commit 3825e36ef7
No known key found for this signature in database
GPG Key ID: 402C6797325182D9

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