Skip to content

Commit

Permalink
change: better defaults for production environment (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
dijonkitchen authored and sushantdhiman committed Nov 2, 2017
1 parent b6fd978 commit 006c4ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/helpers/config-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ const api = {
dialect: 'mysql'
},
production: {
username: 'root',
password: null,
database: 'database_production',
host: '127.0.0.1',
username: process.env.PROD_DB_USERNAME,
password: process.env.PROD_DB_PASSWORD,
database: process.env.PROD_DB_NAME,
host: process.env.PROD_DB_HOSTNAME,
dialect: 'mysql'
}
}, undefined, 2) + '\n';
Expand Down

0 comments on commit 006c4ec

Please sign in to comment.