aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-09 15:48:11 +0100
committerGitHub <noreply@github.com>2019-05-09 15:48:11 +0100
commitbaea32d59e4b9a7541622af907782927c108806c (patch)
tree6290ba1795b10e016d87172f3e5baec2deb87499
parent4d656c8d0af7e793dbcf29fb2990af09ebdb74f9 (diff)
parent01b7f2b0529569895be1660dec94873a43bd976d (diff)
downloadrspamd-baea32d59e4b9a7541622af907782927c108806c.tar.gz
rspamd-baea32d59e4b9a7541622af907782927c108806c.zip
Merge pull request #2891 from moisseev/webui
[WebUI] Fix AJAX request URL
-rw-r--r--interface/js/app/rspamd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index c9034beda..2188f201f 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -485,7 +485,7 @@ function ($, D3pie, visibility, NProgress, tab_stat, tab_graph, tab_config,
neighbours = {
local: {
host: window.location.host,
- url: window.location.href
+ url: window.location.origin + window.location.pathname
}
};
} else {