mirror of
https://github.com/Permissionless-Software-Foundation/bch-email-api.git
synced 2026-09-21 16:52:04 -07:00
Updating config
This commit is contained in:
+2
-2
@@ -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: {
|
||||
|
||||
Vendored
+4
-5
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user