Thank you COCO!
I also found another workaround, which was to set the src to another site that has CORP set to cross-origin,
namely https://cdn.jsdelivr.net/npm/colyseus.js@0.14.13/dist/colyseus.min.js
Posts made by Deiran
RE: Cross Origin Resource Policy error(sovled)
posted in Questions & Help •
Cross Origin Resource Policy error(sovled)
posted in Questions & Help •
Hey!
I'm trying to use Colyseus with Godot 3.4. After including the js file in <header> like in the javascript documentation (third code snippet - <script src="https://unpkg.com/colyseus.js@^0.14.0/dist/colyseus.js"></script>), I'm getting an error after trying to run the game.
Any ideas how to fix it?