Updating config

This commit is contained in:
Chris Troutner
2019-01-21 16:15:26 -08:00
parent 6390143297
commit 62df57de06
2 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ async function startServer () {
async function runTest () {
try {
const sequelize = new Sequelize('vmail', 'postgres', 'postgres', {
host: 'box.bchtest.net',
const sequelize = new Sequelize('vmail', config.postgresUser, config.postgresPass, {
host: config.postgresHost,
dialect: 'postgres',
pool: {
+4 -5
View File
@@ -1,7 +1,6 @@
// export default {
// port: process.env.PORT || 5000
// }
module.exports = {
port: process.env.PORT || 5000
port: process.env.PORT || 5000,
postgresHost: 'http://127.0.0.1',
postgresUser: 'postgres',
postgresPass: 'postgres'
}