summaryrefslogtreecommitdiff
path: root/javascripts
diff options
context:
space:
mode:
authormicpango <michael.pangopoulos@finn.no>2013-08-28 15:23:58 +0200
committermicpango <michael.pangopoulos@finn.no>2013-08-30 11:33:48 +0200
commit99c64d55067fb301910a6626f3bbd2ce8ab30a6d (patch)
tree8e2c7d0f485c0fcaf59cd60c83a39897bc83bb5b /javascripts
parent81b3cbf08aa6a14d3f0f04a069efb8a7f16cf92b (diff)
Make relative to allow running on sub-path
Diffstat (limited to 'javascripts')
-rw-r--r--javascripts/dashing.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascripts/dashing.coffee b/javascripts/dashing.coffee
index d24bf54..ee4b6d4 100644
--- a/javascripts/dashing.coffee
+++ b/javascripts/dashing.coffee
@@ -92,7 +92,7 @@ Dashing.widgets = widgets = {}
Dashing.lastEvents = lastEvents = {}
Dashing.debugMode = false
-source = new EventSource('/events')
+source = new EventSource('events')
source.addEventListener 'open', (e) ->
console.log("Connection opened")