[bug] wrong config setting for dababase. (#2984)
parent
f87af43ee7
commit
ba8ea16858
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue