You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am facing the problem of users who upload huge files to our Sanity through the stanity-plugin-media.
When uploading the assets through stanity-plugin-media non of the custom validators is triggered.
Describe the solution you'd like
I would like to configure that MAX_ALLOWED_ASSET_SIZE environment variable that will define the maximum size of the asset being uploaded through stanity-plugin-media.
Describe alternatives you've considered
Alternatively the property could provided as a custom argument when loading stanity-plugin-media in defineConfig function.
The text was updated successfully, but these errors were encountered:
kszalwinski-rbi
changed the title
Add a file upload size limit
Feature Request: Add a file upload size limit
Dec 20, 2023
Is your feature request related to a problem? Please describe.
I am facing the problem of users who upload huge files to our Sanity through the stanity-plugin-media.
When uploading the assets through stanity-plugin-media non of the custom validators is triggered.
Describe the solution you'd like
I would like to configure that MAX_ALLOWED_ASSET_SIZE environment variable that will define the maximum size of the asset being uploaded through stanity-plugin-media.
Describe alternatives you've considered
Alternatively the property could provided as a custom argument when loading stanity-plugin-media in defineConfig function.
The text was updated successfully, but these errors were encountered: