Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. Deiran
  3. Posts
  • Profile
  • More
    • Continue chat with Deiran
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by Deiran

RE: Cross Origin Resource Policy error(sovled)

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

posted in Questions & Help • 26 Jan 2022, 15:06
Cross Origin Resource Policy error(sovled)

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.

0_1643208745044_js error.png

Any ideas how to fix it?

posted in Questions & Help • 26 Jan 2022, 14:54

© 2023 Endel Dreyer