mirror of
https://github.com/C4illin/ConvertX.git
synced 2025-11-09 08:25:53 +00:00
chore: create data directory
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
|||||||
} from "./helpers/normalizeFiletype";
|
} from "./helpers/normalizeFiletype";
|
||||||
import "./helpers/printVersions";
|
import "./helpers/printVersions";
|
||||||
|
|
||||||
|
mkdir("./data", { recursive: true }).catch(console.error);
|
||||||
const db = new Database("./data/mydb.sqlite", { create: true });
|
const db = new Database("./data/mydb.sqlite", { create: true });
|
||||||
const uploadsDir = "./data/uploads/";
|
const uploadsDir = "./data/uploads/";
|
||||||
const outputDir = "./data/output/";
|
const outputDir = "./data/output/";
|
||||||
|
|||||||
Reference in New Issue
Block a user