Permalink
Browse files

Fix #77 - SockJS doesn't work from file:// urls

  • Loading branch information...
1 parent fb3af83 commit 69cad311b2390b4bedff9f688a1cf73689462754 @majek majek committed Jun 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/info.js
View
@@ -90,7 +90,8 @@ var createInfoReceiver = function(base_url) {
}
switch (utils.isXHRCorsCapable()) {
case 1:
- return new InfoReceiver(base_url, utils.XHRCorsObject);
+ // XHRLocalObject -> no_credentials=true
+ return new InfoReceiver(base_url, utils.XHRLocalObject);
case 2:
return new InfoReceiver(base_url, utils.XDRObject);
case 3:

0 comments on commit 69cad31

Please sign in to comment.