[bug] wrong config setting for dababase. (#2984)
This commit is contained in:
1 parent
9cd3a6836b
commit
b913746752
1 file changed
+1
-1
+1
-1
@@ -37,7 +37,7 @@ const dbUrlToConfig = (dbUrl) => {
|
||||
}
|
||||
|
||||
if (params.pathname) {
|
||||
config.database = params.params.pathname.split('/')[1]
|
||||
config.database = params.pathname.split('/')[1]
|
||||
}
|
||||
|
||||
const ssl = params.query && params.query.ssl
|
||||
|
||||
Reference in new issue
Block a user