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
diff options
context:
space:
mode:
authorHamidreza <70919649+hamid-gh98@users.noreply.github.com>2023-05-22 21:02:17 +0300
committerGitHub <noreply@github.com>2023-05-22 21:02:17 +0300
commitba278a4269f86cd31a38a17b94dbac6064afe8f0 (patch)
tree7990ebe476e7292cb964d0b1c508e3f9d02193b0
parentf6e0e1b3cfc23eaa61373cfebfaf73790c350921 (diff)
parent3825e36ef77e3bf837cec81d046eec2306a001ae (diff)
Merge pull request #509 from hamid-gh98/main
FIX restart redirect :)
-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 21e23d4f..340e4cef 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -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() {