Closed nrutledge closed 2 years ago
https://github.com/mlabs-haskell/nft-marketplace-server/blob/main/src/Main.hs#L54-L58
There is a limit of 2MB, it's not configurable though
@t4ccer 2 MB is definitely too small. Currently artists are being told by Luke that they can provide up to 100 MB.
If there isn't already a limit in place, we should add a configurable file size limit to prevent extremely large images from being uploaded.
A good default limit would be 100 MB (I believe this is the limit for both Rarible and OpenSea).