node-authentication-jwt-mongodb icon indicating copy to clipboard operation
node-authentication-jwt-mongodb copied to clipboard

Cors probleme

Open Nesslax opened this issue 3 years ago • 0 comments

While using the project with a reactjs frontend project i had a cors probleme

I fixed it with a
npm install cors

and adding a line in the main app.js

app.use(cors())

Nesslax avatar Feb 16 '22 07:02 Nesslax