xsshunter-express
xsshunter-express copied to clipboard
fix: increase file size limit for uploads using Multer to handle large files (ref: expressjs/multer#436)
This commit addresses an issue where large files were not being successfully uploaded to the server due to the default file size limit in Multer. To resolve this, a custom limits option was added to increase the maximum file size allowed during uploads.
The change follows the discussion and solution outlined in https://github.com/expressjs/multer/issues/436.
By increasing the file size limit, the application can now handle larger file uploads without failing. This is particularly useful for use cases where users need to upload substantial files, such as high-resolution images, videos, or other large data sets.