fix(production): Adjusting production settings 2

This commit is contained in:
Chris Troutner
2021-07-17 11:16:57 -07:00
parent e717124fc7
commit 6f64fc4652
5 changed files with 11 additions and 6 deletions
+3 -1
View File
@@ -10,6 +10,8 @@
module.exports = {
session: 'secret-boilerplate-token',
token: 'secret-jwt-token',
database: 'mongodb://172.17.0.1:5555/ipfs-service-prod',
database: process.env.DBURL
? process.env.DBURL
: 'mongodb://172.17.0.1:5555/ipfs-service-prod',
env: 'prod'
}