简体   繁体   中英

AWS S3 image upload size restriction

I am trying to follow the tutorial on this repository . It is using nextjs and AWS S3 to upload images. What I don't get is that the image size is restricted to 1MB. Why is this the case? How can I increase this size?

The limit is enfored here :

    Conditions: [
      ['content-length-range', 0, 1048576], // up to 1 MB
    ],

So I guess removing the Conditions should be enough to overcome the limit.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM