Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rburgst/test-sveltekit-large-upload
sample sveltekit repo showing a problem with file uploads
https://github.com/rburgst/test-sveltekit-large-upload
Last synced: 2 days ago
JSON representation
sample sveltekit repo showing a problem with file uploads
- Host: GitHub
- URL: https://github.com/rburgst/test-sveltekit-large-upload
- Owner: rburgst
- Created: 2022-11-22T13:09:31.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T13:09:34.000Z (about 2 years ago)
- Last Synced: 2024-11-08T17:53:07.167Z (about 2 months ago)
- Language: TypeScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample sveltekit app showing file uploading problems
This repo shows a problem with sveltekit adapter-node that causes large file uploads to hang the server.
To reproduce
1. `pnpm install`
2. `pnpm build`
3. `pnpm serve`
4. open the browser at http://localhost:3000/
5. upload an image between 3 and 9 MB, e.g. https://unsplash.com/photos/3wZn6OsNBnM (large resolution)### Expected
you should see log output in the console of the server stating that the file is being saved to `/tmp/upload.jpg`.
### Actual
console shows nothing and server just sits there hanging. The POST in the browser never completes.