diff --git a/src/index.tsx b/src/index.tsx index ae5e6af..51b934d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,5 +1,4 @@ import { rmSync } from "node:fs"; -import { mkdir } from "node:fs/promises"; import { html } from "@elysiajs/html"; import { staticPlugin } from "@elysiajs/static"; import { Elysia } from "elysia"; @@ -19,8 +18,6 @@ import { upload } from "./pages/upload"; import { user } from "./pages/user"; import { healthcheck } from "./pages/healthcheck"; -mkdir("./data", { recursive: true }).catch(console.error); - export const uploadsDir = "./data/uploads/"; export const outputDir = "./data/output/";