I have some errors and I’ll start with one
I have the following environment:
Boilerplate in an older version with a NFT marketplace (following a tutorial). Hosted on Netlify.
The NFT are on pinata.
The domain is provided through Hostinger.
I use moralis to log an event and write it to the database.
The website makes a query on the database and then marks the NFT as “for sale”.
Locally, everything works great.
On Netlify nothing works.
When I want to call the NFT I get the message
Bad Request strict-origin-when-cross-origin
On the marketplace the NFT are not shown as “for sale”.
On pages of Netlify I have created a netlify.toml
[[headers]] # Define which paths this specific [[headers]] block will cover. for = "/*" [headers.values] Access-Control-Allow-Origin = "*"
The NFT also take a very long time to load.
I am also willing to pay for more performance