]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] Fix AJAX request URL 2891/head
authormoisseev <moiseev@mezonplus.ru>
Thu, 9 May 2019 09:38:06 +0000 (12:38 +0300)
committermoisseev <moiseev@mezonplus.ru>
Thu, 9 May 2019 09:38:06 +0000 (12:38 +0300)
Fixes: #1552
interface/js/app/rspamd.js

index c9034bedac03642034a06bc18e1555d3cfd896dc..2188f201f453405754b47ac1f5143e5cec75ebc9 100644 (file)
@@ -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 {