mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-04 11:05:48 +00:00
Largly just a code reorg taking all of @Richienb's work and splitting it into separate files.
8 lines
210 B
JavaScript
8 lines
210 B
JavaScript
module.exports = (req, res, next) => {
|
|
res.header('Access-Control-Allow-Origin', '*');
|
|
res.header(
|
|
'Access-Control-Allow-Headers',
|
|
'Origin, X-Requested-With, Content-Type, Accept'
|
|
);
|
|
next();
|
|
};
|