Skip to content
Browse files

EventSources are from the document root

  • Loading branch information...
1 parent 22f04b9 commit 53252db0e5068f6bda06c2277ea4defbf001458a @espadrine espadrine committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/js/additions.js
View
2 web/js/additions.js
@@ -165,7 +165,7 @@ Scout = (function Scoutmaker () {
/* Wrapper for EventSource. */
ret.EventSource = function (channel) {
- var es = new EventSource('$' + channel);
+ var es = new EventSource('/$' + channel);
es.onrecv = function (cb) {
es.onmessage = function (event) {
cb(JSON.parse(event.data));

0 comments on commit 53252db

Please sign in to comment.
Something went wrong with that request. Please try again.