workaround for #435

This commit is contained in:
Rdeisenroth 2025-11-08 16:48:07 +01:00
parent 5b9a8034b3
commit f6f675d49a
No known key found for this signature in database
GPG key ID: 197008FA42DE7127

View file

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