parent
0945b40a9c
commit
3ae2db5d9b
1 changed files with 5 additions and 4 deletions
|
|
@ -21,9 +21,6 @@ import {
|
||||||
} from "./helpers/normalizeFiletype";
|
} from "./helpers/normalizeFiletype";
|
||||||
import "./helpers/printVersions";
|
import "./helpers/printVersions";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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/";
|
||||||
|
|
@ -104,7 +101,11 @@ interface IJobs {
|
||||||
// enable WAL mode
|
// enable WAL mode
|
||||||
db.exec("PRAGMA journal_mode = WAL;");
|
db.exec("PRAGMA journal_mode = WAL;");
|
||||||
|
|
||||||
const app = new Elysia()
|
const app = new Elysia({
|
||||||
|
serve: {
|
||||||
|
maxRequestBodySize: Number.MAX_SAFE_INTEGER,
|
||||||
|
},
|
||||||
|
})
|
||||||
.use(cookie())
|
.use(cookie())
|
||||||
.use(html())
|
.use(html())
|
||||||
.use(
|
.use(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue