Merge pull request #6153 from pixelfed/staging

Update StoryApiV1Controller, reduce min story size to 10kb
pull/6163/head
(dan)iel (sup)ernault 10 months ago committed by GitHub
commit 7efe2923b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -389,7 +389,7 @@ class StoryApiV1Controller extends Controller
'image',
'mimes:jpeg,jpg,png',
File::image()
->min(50)
->min(10)
->max(((int) config_cache('pixelfed.max_photo_size')) ?: (6 * 1024))
->dimensions(Rule::dimensions()->width(1080)->height(1920)),
],

Loading…
Cancel
Save