Update config() to config_cache()
This commit is contained in:
parent
e7b33c4cc6
commit
1d54204635
4 changed files with 16 additions and 16 deletions
|
@ -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'),
|
||||
];
|
||||
},
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue