Open yangxyo opened 3 years ago
I use koa-socket-2.
'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
@yangxyo, koa-socket-2 build on top of socket.io and as you can see here you should pass cors as option to socket.io you can see that here with koa-socket-2.
koa-socket-2
socket.io
I use koa-socket-2.
'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.