diff --git a/config/env/production.js b/config/env/production.js index f358bb8d45f9dcd1a573b5e291ca39f72e2f64c9..466af5eb2763aaff7a81f76105ae796f6d79ab6c 100755 --- a/config/env/production.js +++ b/config/env/production.js @@ -221,7 +221,7 @@ module.exports = { * * ***************************************************************************/ cookie: { - // secure: true, + secure: true, maxAge: 24 * 60 * 60 * 1000, // 24 hours }, @@ -250,10 +250,10 @@ module.exports = { * > Be sure to use the right protocol! ("http://" vs. "https://") * * * ***************************************************************************/ - // onlyAllowOrigins: [ - // 'https://example.com', - // 'https://staging.example.com', - // ], + onlyAllowOrigins: [ + 'https://tsa-api-rest.herokuapp.com/', + 'http://tsa-api-rest.herokuapp.com/', + ], /*************************************************************************** @@ -322,7 +322,7 @@ module.exports = { * (https://sailsjs.com/config/http) * * * ***************************************************************************/ - // trustProxy: true, + trustProxy: true, }, @@ -371,7 +371,7 @@ module.exports = { * * ***************************************************************************/ custom: { - baseUrl: 'https://example.com', + baseUrl: 'https://tsa-api-rest.herokuapp.com/', internalEmailAddress: 'support@example.com', // mailgunDomain: 'mg.example.com',