salix/loopback/server/middleware/cors.js

6 lines
95 B
JavaScript
Raw Normal View History

let cors = require('cors');
2017-10-13 14:22:45 +00:00
module.exports = function() {
return cors({origin: true});
};