v3: added emoji picker, various bug and layout fixes

This commit is contained in:
khannurien
2026-03-22 20:24:29 +00:00
parent a104113e05
commit c5051e3485
24 changed files with 384 additions and 177 deletions

View File

@@ -1,6 +1,7 @@
import { Router } from "@oak/oak";
import { APIErrorCode, APIException } from "../model/interfaces.ts";
import { getDump } from "../services/dump-service.ts";
import { DUMPS_DIR } from "../utils/upload.ts";
const router = new Router({ prefix: "/api/files" });
@@ -22,7 +23,7 @@ router.get("/:dumpId", async (ctx) => {
);
}
const path = `api/uploads/${dumpId}`;
const path = `${DUMPS_DIR}/${dumpId}`;
let data: Uint8Array;
try {