mattstyles / koa-socket

Sugar for connecting socket.io to a koa instance
242 stars 50 forks source link

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. The response had HTTP status code 502. #36

Closed yursile closed 7 years ago

yursile commented 7 years ago

HI, I got a problem with CORS, can you guys provide some option to set headers