From 53c1a54df5a0ecce17d4a3d307e0baacc47658a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emrik=20=C3=96stling?= Date: Fri, 14 Nov 2025 19:28:40 +0100 Subject: [PATCH] workaround for #435 (#438) --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 2e6a169..c163e74 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -22,6 +22,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,