Skip to content

Commit

Permalink
Update db connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
amiralies committed Dec 12, 2017
1 parent 0c5057a commit 197d6ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/helpers/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const { DB_HOST, DB_PORT } = process.env;

module.exports = {
DB_CONNECTION_STRING: 'mongodb://localhost:27017/metalarchives',
DB_CONNECTION_STRING: `mongodb://${DB_HOST}:${DB_PORT}/metalarchives`,
};

0 comments on commit 197d6ea

Please sign in to comment.