aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-13 14:22:38 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-13 14:22:38 +0000
commitff0e2b7fb8b9d8401dcd9928db22ee43bfa177bb (patch)
tree6376a5951c9df9ab9bc4fda4a66980f810128313 /interface/js
parentd7acde2b547bc9c1ea254d1f09eec464b4b2f075 (diff)
downloadrspamd-ff0e2b7fb8b9d8401dcd9928db22ee43bfa177bb.tar.gz
rspamd-ff0e2b7fb8b9d8401dcd9928db22ee43bfa177bb.zip
[WebUI] Fix case when no cluster is defined
Issue: #1334 Reported by: @dehnli
Diffstat (limited to 'interface/js')
-rw-r--r--interface/js/rspamd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js
index 41fc43986..fca33020d 100644
--- a/interface/js/rspamd.js
+++ b/interface/js/rspamd.js
@@ -404,7 +404,7 @@
neighbours = {
local: {
host: window.location.host,
- url: window.location.path
+ url: window.location.href
}
};
} else {