diff options
| author | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-22 21:00:35 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-22 21:00:35 +0300 |
| commit | 3825e36ef77e3bf837cec81d046eec2306a001ae (patch) | |
| tree | 7990ebe476e7292cb964d0b1c508e3f9d02193b0 /web/html/xui/settings.html | |
| parent | f6e0e1b3cfc23eaa61373cfebfaf73790c350921 (diff) | |
FIX restart redirect :)
Diffstat (limited to 'web/html/xui/settings.html')
| -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() { |
