mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 20:32:50 +02:00
allow overriding ooye data directory
This commit is contained in:
parent
d8e6de62e5
commit
42b331135d
11 changed files with 37 additions and 18 deletions
|
@ -34,7 +34,8 @@ if (fs.existsSync("db")) {
|
|||
}
|
||||
|
||||
const passthrough = require("../src/passthrough")
|
||||
const db = new sqlite("ooye.db")
|
||||
const {getDatabase} = require("../src/db/database")
|
||||
const db = getDatabase()
|
||||
const migrate = require("../src/db/migrate")
|
||||
|
||||
const sync = new HeatSync({watchFS: false})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue