CodePadApp / codepad-issues

Issue tracker for CodePad
https://codepad.app
4 stars 0 forks source link

Can't upload large files. #49

Closed ethan-vanderheijden closed 2 years ago

ethan-vanderheijden commented 3 years ago

When you try to upload large files, the upload dialog will disappear but no file will be uploaded. In the console, it says 413 Request Entity Too Large. From preliminary testing, the maximum file size seems to be about 1 MB.

What should be done:

  1. The file size limit should be increased, perhaps to 20 MB.
  2. When it exceeds the file limit size, it should report an error.
ethan-vanderheijden commented 2 years ago

When testing on my local development environment, I was able to upload multiple gigabyte files. However, the production server may still have some maximum payload size limits. Either way, uploading files should no longer fail silently with the new upload dialog.