Skip to content

Commit

Permalink
chore: use DB_URI instead of POSTGRES_HOST in env
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Adiyodi <shreyasadiyodi@gmail.com>
  • Loading branch information
shreyasadiyodi93 committed May 24, 2021
1 parent dbd7c49 commit fafe3e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORT=5000
POSTGRES_HOST=postgresql://shield_dev@postgres:5432/shield_dev
DB_URI=postgresql://shield_dev@postgres:5432/shield_dev
NODE_ENV=integration
APP_NAME=shield
NEW_RELIC_KEY=132
Expand Down
2 changes: 1 addition & 1 deletion config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ internals.config = {
}
},
$default: {
uri: process.env.POSTGRES_HOST,
uri: process.env.DB_URI,
options: {}
}
},
Expand Down

0 comments on commit fafe3e7

Please sign in to comment.