whatsapp-api
whatsapp-api copied to clipboard
CORS Error
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())
how do you do this when using docker?
I am not using Docker because I don't know it. I will will learn it soon.