Sails.js global CORS config not working, per-route is Access-Control-Allow-Headers On Cross-Origin Resource Sharing (CORS) MDN Access-Control-Request-Headers On Cross-Origin Resource Sharing (CORS) MDN sails.config.security # config/security.js module.exports.security = { cors: { allRoutes: true, allowOrigins: '*', allowCredentials: false, allowRequestMethods: 'GET, POST, PUT, DELETE, OPTIONS, H..