salix/services/loopback/server/middleware/cors.js

6 lines
95 B
JavaScript
Raw Normal View History

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