Closed adityaravishankar closed 12 years ago
XMLHttpRequest cannot load http:// /socket.io/1/?t=1334761336615.
Origin is not allowed by Access-Control-Allow-Origin.
Is there any way to tell now to allow specific origins?
Socket.io does have a configurable origins that defaults to * : *, Not sure why this error is cropping up.
Will something like this work?
var nowjs = require ("now"); nowjs.options.socketio.origins ='www.mydomain.com:*';
Update: Yep.. That works... Closing the issue :)
XMLHttpRequest cannot load http:// /socket.io/1/?t=1334761336615.
Origin is not allowed by Access-Control-Allow-Origin.
Is there any way to tell now to allow specific origins?
Socket.io does have a configurable origins that defaults to * : *, Not sure why this error is cropping up.