[bug] wrong config setting for dababase. (#2984)

main
Ayumu AIZAWA 2017-05-11 18:23:24 +09:00 committed by Eugen Rochko
parent 9cd3a6836b
commit b913746752
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ const dbUrlToConfig = (dbUrl) => {
} }
if (params.pathname) { if (params.pathname) {
config.database = params.params.pathname.split('/')[1] config.database = params.pathname.split('/')[1]
} }
const ssl = params.query && params.query.ssl const ssl = params.query && params.query.ssl