Skip to content

Commit

Permalink
Tweaked upload configuration to allow larger uploads.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleydavis committed Jun 21, 2024
1 parent e1c44fe commit 04bef35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/upload/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 04bef35

Please sign in to comment.