mirror of
https://github.com/journey-ad/Moe-Counter.git
synced 2024-11-27 17:00:51 +01:00
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