Skip to content

Instantly share code, notes, and snippets.

/gist:8f82acde0aebe28dd65f Secret
Created Dec 20, 2012

Embed
What would you like to do?
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
You can’t perform that action at this time.