commit 01b7f2b: [WebUI] Fix AJAX request URL
moisseev
moiseev at mezonplus.ru
Thu May 9 14:49:03 UTC 2019
Author: moisseev
Date: 2019-05-09 12:38:06 +0300
URL: https://github.com/rspamd/rspamd/commit/01b7f2b0529569895be1660dec94873a43bd976d (refs/pull/2891/head)
[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 {
More information about the Commits
mailing list