Hi Fam,
Trying to selfhost Moralis Server to migrate a already running dApp.
Followed the tutorial and deployed server with heroku.
Facing the following problems:
- XMLHttpRequest failed: âUnable to connect to the Parse APIâ
- The frontend (localhost:3000) Has been blocked by CORS
- Cloud functions are not recognized.
When running the Moralis Server locally, I can get authentication working (can add and login users and see it users are added correctly in MongoDB), But still cloud functions are not working.
I tried to configure CORS for localhost in the Server code but with no success.
Any advice?