LearnBoost/socket.io — Issue #775: XMLHttpRequest cannot load http in google chrome browser
Author: yipingshui
Created: 2012-03-02 02:35:41+00:00
State: open

Hello guille! I want to use socket.io in Web Worker. But when I used the line "var socket = io.connect("http://localhost") in worker.js, I got the error:
XMLHttpRequest cannot load http://localhost/socket.io/1/?t=1330653859695. Request header field Referer is not allowed by Access-Control-Allow-Headers.

I don't known how to do it.
Waiting for your help.Thanks!!