mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
FIX restart redirect :)
This commit is contained in:
parent
f6e0e1b3cf
commit
3825e36ef7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user