SyntaxFix
Write A Post
Hire A Developer
Questions
Try to this cors npm modules.
var cors = require('cors') var app = express() app.use(cors())
This module provides many features to fine tune cors setting such as domain whitelisting, enabling cors for specific apis etc.