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