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
|
@ -4,13 +4,13 @@
|
|||
const {createServer} = require("http")
|
||||
const EventEmitter = require("events")
|
||||
const {createApp, createRouter, toNodeListener} = require("h3")
|
||||
const sqlite = require("better-sqlite3")
|
||||
const migrate = require("../src/db/migrate")
|
||||
const HeatSync = require("heatsync")
|
||||
|
||||
const {reg} = require("../src/matrix/read-registration")
|
||||
const passthrough = require("../src/passthrough")
|
||||
const db = new sqlite("ooye.db")
|
||||
const {getDatabase} = require("../src/db/database")
|
||||
const db = getDatabase()
|
||||
|
||||
const sync = new HeatSync()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue