Skip to content

Commit 1666290

Browse files
committed
chore: add changeset for asset upload size check
1 parent 97858ab commit 1666290

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.changeset/proud-mangos-travel.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
---
2+
"sideshow": patch
23
---
4+
5+
Reject oversize asset uploads before buffering the body into memory. The /api/assets handler previously read the entire request body before checking the 5 MB cap, so a multi-GB upload could exhaust Node's heap on `sideshow serve` before the 413 fired.

0 commit comments

Comments
 (0)