Hello! I'm really a newby on itch.io, and generally speaking on server side.
I've developed a Unity WebGL application that read some files from my server (https://vr.alicefit.com).
I've uploaded this app on my server, and it work fine. Now I'd like to be able to embed it on some web pages, through iFrame, so I've registered on itch.io and I've uploaded my app here.
The problem is that running the app from itch.io, when the app try to load the files from my server I get the error message ".... has been blocked by CORS policy: no 'Access-Control-Allow-Origin' header is present on the requested resource".
I've googled a bit, and I've added this line on .htacces on my server:
<IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule>
But unfortunately does not work, I keep getting the same error message.
Please could you suggest me a way to solve this issue?