shurco / litecart

🛒 litecart - shopping cart in 1 file with card and cryptocurrency payment support
MIT License
172 stars 33 forks source link

🐛 [Bug]: error 413 (Payload Too Large) for files over a megabyte #81

Closed coderofsalvation closed 8 months ago

coderofsalvation commented 8 months ago

Bug Description

When I'm uploading a file-asset over a megabyte, the server will fail silently with: 413 (Payload Too Large) in the browser console

I guess I can just overwrite a small file with a bigger one (in the lc_digital) using scp e.g., but perhaps the upload-endpoint could accept a higher uploadsize.

How to Reproduce

Steps to reproduce the behavior:

  1. add a product
  2. upload a digital file around 10 mb

Expected Behavior

accept bigger file uploads

litecart Version

v0.1.9

Code Snippet (optional)

No response

Checklist:

shurco commented 8 months ago

@coderofsalvation this update will be available in the next build

coderofsalvation commented 8 months ago

this is awesome news thx 🥳❤️