workaround for #435
This commit is contained in:
parent
5b9a8034b3
commit
f6f675d49a
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ import { healthcheck } from "./pages/healthcheck";
|
||||||
export const uploadsDir = "./data/uploads/";
|
export const uploadsDir = "./data/uploads/";
|
||||||
export const outputDir = "./data/output/";
|
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({
|
const app = new Elysia({
|
||||||
serve: {
|
serve: {
|
||||||
maxRequestBodySize: Number.MAX_SAFE_INTEGER,
|
maxRequestBodySize: Number.MAX_SAFE_INTEGER,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue