-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
In express you can enable CORS support with:
app.all('*', function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
next();
});
Didn't see anything in documentation surrounding this, but would appreciate the feature.
Metadata
Metadata
Assignees
Labels
No labels