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
0
Reputation
2
Posts
651
Profile views
0
Followers
0
Following
Posts made by Deiran
RE: Cross Origin Resource Policy error(sovled)
posted in Questions & Help • 26 Jan 2022, 15:06
Cross Origin Resource Policy error(sovled)
posted in Questions & Help • 26 Jan 2022, 14:54
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?