CORS in Express
const cors = require('cors');
const corsOption = {
origin: ['http://localhost:3000'],
};
app.use(cors(corsOption));
//if you want in every domain then
app.use(cors())
Shirshak kandel