From 04bef353232968825b87951daaa8afea5571f42f Mon Sep 17 00:00:00 2001 From: Ashley Davis Date: Sat, 22 Jun 2024 08:05:13 +1000 Subject: [PATCH] Tweaked upload configuration to allow larger uploads. --- tools/upload/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/upload/src/index.ts b/tools/upload/src/index.ts index f254066..30e4e94 100644 --- a/tools/upload/src/index.ts +++ b/tools/upload/src/index.ts @@ -416,6 +416,8 @@ async function uploadAssetData(setId: string, assetId: string, assetType: string `${config.backend}/asset`, data, { + maxContentLength: Infinity, + maxBodyLength: Infinity, headers: { "content-type": contentType, set: setId,