Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorHamidreza Ghavami <hamid.r.gh.1998@gmail.com>2023-05-08 17:45:33 +0300
committerHamidreza Ghavami <hamid.r.gh.1998@gmail.com>2023-05-08 17:45:33 +0300
commit55d38dfa48cadd37e6aad538c5758727e226f532 (patch)
tree6aafcdf0b4428a47d65a4d0cc8e6516877fbc184 /web
parent0e266b88f0eb70bf46d3ecc4df148794bc307205 (diff)
[FIX] bug logout path
Diffstat (limited to 'web')
-rw-r--r--web/html/xui/settings.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 58b3737e..8463ee80 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -335,7 +335,7 @@
this.loading(false);
if (msg.success) {
this.user = {};
- window.location.replace("/logout")
+ window.location.replace(basePath + "logout")
}
},
async restartPanel() {
@@ -369,7 +369,7 @@
const msg = await HttpUtil.post("/xui/setting/updateUserSecret", this.user);
if (msg.success) {
this.user = msg.obj;
- window.location.replace("/logout")
+ window.location.replace(basePath + "logout")
}
this.loading(false);
await this.updateAllSetting();