From ed7a88ce66d4f531e58c4790c7a2eb1bb3471dd1 Mon Sep 17 00:00:00 2001 From: Miguel Dantas Date: Tue, 23 Jul 2019 11:48:41 +0100 Subject: [PATCH] [StoreRemoteMedia] Added documentation for feature which limits the maximum filesize which is kept locally --- plugins/StoreRemoteMedia/README | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/StoreRemoteMedia/README b/plugins/StoreRemoteMedia/README index 2de4ce4541..751a0b402d 100644 --- a/plugins/StoreRemoteMedia/README +++ b/plugins/StoreRemoteMedia/README @@ -13,6 +13,8 @@ check_blacklist: Whether to check the domain_blacklist. domain_whitelist: Array of regular expressions. Always escape your dots and end your strings. check_whitelist: Whether to check the domain_whitelist. +max_image_bytes: Max image size. Anything bigger than this is rejected. 10MiB by default + When check_whitelist is set, only images from URLs matching a regex in the domain_whitelist array are accepted for local storage. When check_blacklist is set, images from URLs matching any regex in the domain_blacklist are