From 01b7f2b0529569895be1660dec94873a43bd976d Mon Sep 17 00:00:00 2001 From: moisseev Date: Thu, 9 May 2019 12:38:06 +0300 Subject: [PATCH] [WebUI] Fix AJAX request URL Fixes: #1552 --- interface/js/app/rspamd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5