From 40fc82f202613dc221d0232dff40a66e6b102118 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Sat, 22 Aug 2026 02:02:46 +0000 Subject: [PATCH] Clarify sizeLimit applies to file replacement operations --- .../cms/configurations/media-library-providers/local-upload.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/cms/configurations/media-library-providers/local-upload.md b/docusaurus/docs/cms/configurations/media-library-providers/local-upload.md index 8d1587003a..a4a3d1328d 100644 --- a/docusaurus/docs/cms/configurations/media-library-providers/local-upload.md +++ b/docusaurus/docs/cms/configurations/media-library-providers/local-upload.md @@ -53,7 +53,7 @@ Providers configuration is defined in [the `/config/plugins` file](/cms/configur * `provider` to define the provider name (i.e., `local`) * `providerOptions` to define options that are passed down during the construction of the provider. -For the local Upload provider, `providerOptions` accepts only one parameter: `sizeLimit`, which must be a number. The unit is bytes, and the default value is 1000000000 (1 GB). When increasing this limit, also configure the body parser middleware `maxFileSize` so the file can be sent and processed (see [Media Library documentation](/cms/features/media-library#max-file-size) for details). +For the local Upload provider, `providerOptions` accepts only one parameter: `sizeLimit`, which must be a number. The unit is bytes, and the default value is 1000000000 (1 GB). The `sizeLimit` is enforced for both file uploads and file replacements. When increasing this limit, also configure the body parser middleware `maxFileSize` so the file can be sent and processed (see [Media Library documentation](/cms/features/media-library#max-file-size) for details). The following is an example configuration: