sveltejs / sveltejs/kit

Enable BODY_SIZE_LIMIT in development to prevent production issues

Open
#10,448 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

needs-decision pkg:adapter-node size:large
Dominant language
JavaScript
Stars
20.8k
Forks
2.3k
Avg merge
1d 16h
Merged PRs (30d)
156

Description

Describe the problem

My upload worked fine in dev, but as soon as i deployed things started to crash before some files were to large.

Describe the proposed solution

Set the BODY_SIZE_LIMIT to the standard value in development aswell

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the BODY_SIZE_LIMIT handling and comparing development with production behavior; done means development uses the standard limit consistently and coverage verifies oversized uploads are handled as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.