Update config() to config_cache()

This commit is contained in:
Daniel Supernault 2021-05-10 20:04:13 -06:00
parent e7b33c4cc6
commit 1d54204635
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
4 changed files with 16 additions and 16 deletions

View file

@ -28,7 +28,7 @@ class StoryController extends Controller
return [
'required',
'mimes:image/jpeg,image/png,video/mp4',
'max:' . config('pixelfed.max_photo_size'),
'max:' . config_cache('pixelfed.max_photo_size'),
];
},
]);