I tried deploying an app I’ve been working on, it kept giving the error:
Access to XMLHttpRequest at ‘https://ryp6krzvbcoy.usemoralis.com:2053/server/functions/getAllTokenIds’ from origin ‘http://127.0.0.1:5500’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
And
moralis.js:52968 Uncaught (in promise) Error: Network Error
at createError (moralis.js:52968:15)
at XMLHttpRequest.handleError (moralis.js:52419:14)
I am using Liveserver from VSCode, please help me out.