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

6 lines
95 B
JavaScript

var cors = require('cors');
module.exports = function() {
return cors({origin: true});
};