v3: added emoji picker, various bug and layout fixes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user