samedi 28 décembre 2019

Cors problems when developing 2 different projects on a local machine

I am working on two different projects. One is the back end in NodeJS and the other one is front end in VueJS. VueJS project is configured in a way that it starts a local development server with hot reload. Everything works fine for a few API calls but then I get CORS problems because front end on port 8080 can't access the back end on port 8888.

I use Mozilla Firefox browser for development purposes.

What can be done to resolve the issue? I have only problems while developing.




Aucun commentaire:

Enregistrer un commentaire