]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] Fix case when no cluster is defined
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 13 Jan 2017 14:22:38 +0000 (14:22 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 13 Jan 2017 14:22:38 +0000 (14:22 +0000)
Issue: #1334
Reported by: @dehnli

interface/js/rspamd.js

index 41fc43986be7ac5c82071abade5d2f6f1e5ec957..fca33020d6d4e9c65d627afa6e9f17d06f310bd5 100644 (file)
                         neighbours = {
                                 local:  {
                                     host: window.location.host,
-                                    url: window.location.path
+                                    url: window.location.href
                                 }
                         };
                     }   else {