Fix HTTP 413 on plugin upload: lift BODY_SIZE_LIMIT
SvelteKit's Node adapter caps request bodies at 512KB by default, which rejects real-world plugin .dll uploads with HTTP 413. Same trust boundary as the CSRF disable (LAN-only), so 0 = unlimited is fine.
This commit is contained in:
@@ -17,6 +17,12 @@ services:
|
|||||||
- /root/zombies:/root/zombies:rw
|
- /root/zombies:/root/zombies:rw
|
||||||
- /root/zombies/.electric-cherry:/data:rw
|
- /root/zombies/.electric-cherry:/data:rw
|
||||||
environment:
|
environment:
|
||||||
|
# SvelteKit's Node adapter caps request bodies at 512KB by default,
|
||||||
|
# which rejects real-world plugin .dll uploads with HTTP 413. Same
|
||||||
|
# trust boundary as the CSRF disable (see svelte.config.js) — this is
|
||||||
|
# LAN-only, so 0 = unlimited is fine. If exposed to the public
|
||||||
|
# internet, replace with a concrete byte cap instead.
|
||||||
|
BODY_SIZE_LIMIT: "0"
|
||||||
SERVERS_ROOT: /root/zombies/t5
|
SERVERS_ROOT: /root/zombies/t5
|
||||||
REL_DEST: runtime/plutonium/storage/t5/raw/scripts/sp
|
REL_DEST: runtime/plutonium/storage/t5/raw/scripts/sp
|
||||||
BETA_ARCHIVE_DIR: /root/zombies/beta-archive
|
BETA_ARCHIVE_DIR: /root/zombies/beta-archive
|
||||||
|
|||||||
Reference in New Issue
Block a user