[SOLVED] CORS errors reported when following the multiplayer tutorial

I’m learning how to set up a multiplayer game following this tutorial. I have set up a glitch server and start it, and have set up a playcanvas project with socket.js external scripts and network.js. When I started the game, it reported CORS errors and will the server will not be connected. Some ideas about it?

Got it…Didn’t copy the code provided but following this picture:

That’s so embarrassing!

3 Likes