fix db path

This commit is contained in:
LouisLam 2021-09-02 21:08:00 +08:00
parent b604807cfe
commit 6e3e2fc85c
2 changed files with 3 additions and 2 deletions

View file

@ -5,8 +5,8 @@ const { setSetting, setting } = require("./util-server");
class Database {
static templatePath = "./db/kuma.db"
static dataDir = "./data/";
static path = this.dataDir + "kuma.db";
static dataDir;
static path;
static latestVersion = 8;
static noReject = true;
static sqliteInstance = null;