I built an unity web-game and uploaded it to itch.io. The game is accessing a text-file which is placed in my next cloud. The game is not working, this is the error:
Access to XMLHttpRequest at ‘https://mynextcloud.org’ from origin ‘https://v6p9d9t4.ssl.hwcdn.net’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Any idea how to solve the problem?
I run a Nextcloud 20.0.7 on Ubuntu server, snap-installation.