From f6f675d49ab030cf94a957f717e80b63f568e274 Mon Sep 17 00:00:00 2001 From: Rdeisenroth Date: Sat, 8 Nov 2025 16:48:07 +0100 Subject: [PATCH] workaround for #435 --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 9def766..bc448dc 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -21,6 +21,9 @@ import { healthcheck } from "./pages/healthcheck"; export const uploadsDir = "./data/uploads/"; export const outputDir = "./data/output/"; +// Fix for Elysia issue with Bun, (see https://github.com/oven-sh/bun/issues/12161) +process.getBuiltinModule = require; + const app = new Elysia({ serve: { maxRequestBodySize: Number.MAX_SAFE_INTEGER,