Status Code 413 Payload Too Large

I’m hosting my Sveltekit app on fly.io (using Dockerfile). It’s talking to a Go API also on fly.io.

If I run a local build of the Sveltekit app, talking to the Go API, I’m able to upload files greater than 1.2MB

If I try the same file against the fly.io-hosted Sveltekit app, talking to the same Go API, I get a 413 status code.

What is the web server that fronts my Dockerfile-app? Is there a way to configure it? Or is it just forwarded to my Dockerfile’s exposed port? I’m simply running node ./build for my Docker CMD.

I figured it out, I needed to set an ENV var for BODY_SIZE_LIMIT for the NodeJS adapter in Sveltekit: kit/handler.js at master · sveltejs/kit · GitHub