Skip to content

Instantly share code, notes, and snippets.

Created December 20, 2012 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8f82acde0aebe28dd65f to your computer and use it in GitHub Desktop.
Save anonymous/8f82acde0aebe28dd65f to your computer and use it in GitHub Desktop.
io.Socket.prototype.isXDomain = function(){ return false; }
io.util.ua.hasCORS = false;
app.socket = io.connect(app.settings.socketServer,{
transports: ['websockets']
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment