Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[breaking] limit adapter-node request size #6684

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

benmccann
Copy link
Member

closes #6542

@changeset-bot
Copy link

changeset-bot bot commented Sep 9, 2022

🦋 Changeset detected

Latest commit: 6bb6c9e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@sveltejs/adapter-node Patch
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@benmccann benmccann merged commit ba168b0 into sveltejs:master Sep 9, 2022
@benmccann benmccann deleted the node-request-size branch September 9, 2022 06:08
@github-actions github-actions bot mentioned this pull request Sep 9, 2022
@theswerd
Copy link

With this new change, how do we handle image uploads in post requests in sveltekit?

@benmccann
Copy link
Member Author

Please read the docs that were added as part of this PR: https://github.com/sveltejs/kit/tree/master/packages/adapter-node#body_size_limit

@nikolaydyankov
Copy link

I tried setting it to 0, to 50000000, in the .env file, in the command, nothing works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Limit size of post requests
4 participants