From b958cef3ec22fa22bad9417e5a9343b2303ed078 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 16 Jan 2023 18:32:14 -0600 Subject: [PATCH] Update production config to use Heroku's names for config variables --- config/env/production.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/env/production.js b/config/env/production.js index 9c19800..443b0ca 100644 --- a/config/env/production.js +++ b/config/env/production.js @@ -185,7 +185,7 @@ module.exports = { * * ***************************************************************************/ adapter: '@sailshq/connect-redis', - // url: 'redis://user:password@localhost:6379/databasenumber', + url: process.env.REDIS_TLS_URL, //-------------------------------------------------------------------------- // /\ OR, to avoid checking it in to version control, you might opt to // || set sensitive credentials like this using an environment variable. @@ -268,7 +268,7 @@ module.exports = { * * ***************************************************************************/ adapter: '@sailshq/socket.io-redis', - // url: 'redis://user:password@bigsquid.redistogo.com:9562/databasenumber', + url: process.env.REDIS_TLS_URL, //-------------------------------------------------------------------------- // /\ OR, to avoid checking it in to version control, you might opt to // || set sensitive credentials like this using an environment variable.