Skip to content

Commit

Permalink
prod server env var config
Browse files Browse the repository at this point in the history
  • Loading branch information
motosharpley committed Mar 11, 2018
1 parent 75ea25e commit cc90613
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config/prod.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
const SECRETS = require('./secrets.json');

module.exports = {
NODE_ENV: process.env.NODE_ENV || 'production',
HOST: process.env.HOST,
PORT: process.env.PORT,
DB_URL: SECRETS.mongodb_prod.db_url,
GOOGLE_API_KEY: SECRETS.google_maps.api_key,
JWT_KEY: SECRETS.jwt.key,
DB_URL: process.env.MONGODB_URI,
GOOGLE_API_KEY: process.env.GOOGLE_API_KEY,
JWT_KEY: process.env.JWT_KEY,
};

0 comments on commit cc90613

Please sign in to comment.