summaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2019-05-09 12:38:06 +0300
committermoisseev <moiseev@mezonplus.ru>2019-05-09 12:38:06 +0300
commit01b7f2b0529569895be1660dec94873a43bd976d (patch)
tree5f76d837d2754d85247786f5a8d60f56dc409c60 /interface
parent8d2e971635ba10355edbd5309c1376a7ad31e2f0 (diff)
downloadrspamd-01b7f2b0529569895be1660dec94873a43bd976d.tar.gz
rspamd-01b7f2b0529569895be1660dec94873a43bd976d.zip
[WebUI] Fix AJAX request URL
Fixes: #1552
Diffstat (limited to 'interface')
-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 {