fix postgres -> postgresql

This commit is contained in:
Josh Harvey 2016-06-06 20:09:55 +03:00
parent 8219fb7473
commit 73588a978e
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ try {
} }
} }
process.env.DATABASE_URL = options.postgres process.env.DATABASE_URL = options.postgresql
var port = process.env.PORT || 3000 var port = process.env.PORT || 3000

View file

@ -15,7 +15,7 @@ module.exports = function (options) {
var server var server
var lamassuConfig var lamassuConfig
connectionString = options.postgres || connectionString = options.postgresql ||
'postgres://lamassu:lamassu@localhost/lamassu' 'postgres://lamassu:lamassu@localhost/lamassu'
lamassuConfig = new LamassuConfig(connectionString) lamassuConfig = new LamassuConfig(connectionString)