Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 69cad311b2390b4bedff9f688a1cf73689462754 1 parent fb3af83
@majek majek authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/info.js
View
3  lib/info.js
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.