diff options
author | micpango <michael.pangopoulos@finn.no> | 2013-08-28 15:23:58 +0200 |
---|---|---|
committer | micpango <michael.pangopoulos@finn.no> | 2013-08-30 11:33:48 +0200 |
commit | 99c64d55067fb301910a6626f3bbd2ce8ab30a6d (patch) | |
tree | 8e2c7d0f485c0fcaf59cd60c83a39897bc83bb5b | |
parent | 81b3cbf08aa6a14d3f0f04a069efb8a7f16cf92b (diff) |
Make relative to allow running on sub-path
-rw-r--r-- | javascripts/dashing.coffee | 2 |
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") |