From 99c64d55067fb301910a6626f3bbd2ce8ab30a6d Mon Sep 17 00:00:00 2001 From: micpango Date: Wed, 28 Aug 2013 15:23:58 +0200 Subject: Make relative to allow running on sub-path --- javascripts/dashing.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascripts') 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") -- cgit v1.2.3