diff options
| author | Hamidreza <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-22 21:02:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-22 21:02:17 +0300 |
| commit | ba278a4269f86cd31a38a17b94dbac6064afe8f0 (patch) | |
| tree | 7990ebe476e7292cb964d0b1c508e3f9d02193b0 | |
| parent | f6e0e1b3cfc23eaa61373cfebfaf73790c350921 (diff) | |
| parent | 3825e36ef77e3bf837cec81d046eec2306a001ae (diff) | |
Merge pull request #509 from hamid-gh98/main
FIX restart redirect :)
| -rw-r--r-- | web/html/xui/settings.html | 4 |
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() { |
