Open Harshalkatakiya opened 3 months ago
I am developing frontend in Next Js for this All API endpoints. and I ma getting CORS Error. please allow CORS for all client Origins.
I fixed the error by adding these lines of code in app.js file:
const cors = require('cors') app.use(cors())
I am developing frontend in Next Js for this All API endpoints. and I ma getting CORS Error. please allow CORS for all client Origins.