workaround for #435 (#438)

This commit is contained in:
Emrik Östling
2025-11-14 19:28:40 +01:00
committed by GitHub
parent b5c20778f9
commit 53c1a54df5

View File

@@ -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,