Skip to content

Commit

Permalink
Update production config to use Heroku's names for config variables
Browse files Browse the repository at this point in the history
  • Loading branch information
eashaw committed Jan 17, 2023
1 parent ab09ab9 commit b958cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/env/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -268,7 +268,7 @@ module.exports = {
* *
***************************************************************************/
adapter: '@sailshq/socket.io-redis',
// url: 'redis://user:[email protected]: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.
Expand Down

0 comments on commit b958cef

Please sign in to comment.