Skip to content
← Back to Community
Socket.io template
Profile icon
h
has Hacker Plan
PixelNinja

Enjoy this basic template to help communicate server and client!

Voters
Profile icon
RossJames
Profile icon
almostStatic
Profile icon
Loganjackson06
Profile icon
PixelNinja
Comments
hotnewtop
Profile icon
bangjii

giving me error
'Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://socketio-template.pixelninja.repl.co/socket.io/?EIO=4&transport=polling&t=Nmdvw1d. (Reason: CORS request did not succeed)'

i'm using simple html client with cdn socketio.

Profile icon
PixelNinja

@bangjii Hi, cross origin requests can be blocked under specific methods. I recommend finding a tutorial on how to disable cors on those requests as I do not know how. This tutorial is also getting updated soon.