mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-12 23:46:22 +00:00
fix: relocate db scripts
This commit is contained in:
parent
409d0c4ffd
commit
66e44f5eb3
@ -249,7 +249,7 @@ safe.use('/api', api)
|
||||
;(async () => {
|
||||
try {
|
||||
// Init database
|
||||
await require('./database/db.js')(utils.db)
|
||||
await require('./controllers/utils/initDatabase.js')(utils.db)
|
||||
|
||||
// Verify paths, create missing ones, clean up temp ones
|
||||
await paths.init()
|
||||
|
Loading…
Reference in New Issue
Block a user