Hi,
Iโm hosting a simple web app with the Moralis static hosting.
The app is a three.js viewer, so there are multiple assets associated with it such as images, fonts, js files and 3d models.
The app will need to be viewed from opensea within an iframe similarly to this example:
https://opensea.io/assets/0xafba8c6b3875868a90e5055e791213258a9fe7a7/3017
I managed to mint it with the correct metadata, however when opensea loads the iframe Iโm getting several CORS errors.
See an example from here:
https://testnets.opensea.io/assets/0x9d01a7cdb810f519c6976a5a6594a25ff6b80a53/0
The question is:
Is there a way to set the CORS policy of Moralis static hosting to include the opensea domain to avoid cross domain errors?
Many thanks for your help!
Enrico