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
|
let db
|
||||||
|
|
||||||
switch(config.db.type){
|
switch(config.db.type){
|
||||||
case 'mongo':
|
case 'mongodb':
|
||||||
db = require('./mongo')
|
db = require('./mongodb')
|
||||||
break;
|
break;
|
||||||
case 'sqlite':
|
case 'sqlite':
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user