From c209b203455cb9236e3a2002018977e353bcdc0b Mon Sep 17 00:00:00 2001 From: villa7 Date: Mon, 6 May 2019 12:53:25 -0400 Subject: [PATCH] use sails recommended production settings --- config/env/production.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/env/production.js b/config/env/production.js index b4f6439..7dad42b 100644 --- a/config/env/production.js +++ b/config/env/production.js @@ -212,7 +212,7 @@ module.exports = { * * ***************************************************************************/ cookie: { - // secure: true, + secure: true, maxAge: 24 * 60 * 60 * 1000 // 24 hours } @@ -288,7 +288,7 @@ module.exports = { * (the "max-age" to include in the "Cache-Control" response header) * * * ***************************************************************************/ - cache: 365.25 * 24 * 60 * 60 * 1000 // One year + cache: 365.25 * 24 * 60 * 60 * 1000, // One year /*************************************************************************** * * @@ -305,7 +305,7 @@ module.exports = { * (https://sailsjs.com/config/http) * * * ***************************************************************************/ - // trustProxy: true, + trustProxy: true },