HungryTurtleCode / multiplayerSnake

Code for multiplayer snake game with socket.io tutorial
117 stars 123 forks source link

No Game Code visible #6

Open Anon42001 opened 2 years ago

Anon42001 commented 2 years ago

After both players joined a room and someone looses, you can reenter a new game code. If you reenter the old game code, no more game codes will be visible.

Console Error Log: "Access to XMLHttpRequest at 'https://sleepy-island-33889.herokuapp.com/socket.io/?EIO=3&transport=polling&t=OCTigSW' from origin 'http://127.0.0.1:65497' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

"Access to XMLHttpRequest at 'https://sleepy-island-33889.herokuapp.com/socket.io/?EIO=3&transport=polling&t=OCTigSW' from origin 'http://127.0.0.1:65497' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. "

"Access to XMLHttpRequest at 'https://sleepy-island-33889.herokuapp.com/socket.io/?EIO=3&transport=polling&t=OCTigw6' from origin 'http://127.0.0.1:65497' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. "

"Failed to load sleepy-island-33889.herokuapp.com/socket.io/?EIO=3&transport=polling&t=OCTigw6:1 resource: net::ERR_FAILED"