fix: wrong require path to component
This commit is contained in:
parent
3bd1ae58e4
commit
1ee8309f15
@ -5,8 +5,8 @@ const config = require('config-yml')
|
||||
let db
|
||||
|
||||
switch(config.db.type){
|
||||
case 'mongo':
|
||||
db = require('./mongo')
|
||||
case 'mongodb':
|
||||
db = require('./mongodb')
|
||||
break;
|
||||
case 'sqlite':
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user