Update compiled assets

This commit is contained in:
Daniel Supernault 2022-02-05 19:32:10 -07:00
parent de5eab993c
commit bae6126db3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
8 changed files with 6 additions and 6 deletions

View file

@ -452,7 +452,7 @@ class AdminController extends Controller
->whereShortcode($request->input('shortcode'));
})
],
'emoji' => 'required|file|mimes:jpg,png|max:' . (config('federation.custom_emoji.max_size') / 1000)
'emoji' => 'required|file|mimetypes:jpg,png|max:' . (config('federation.custom_emoji.max_size') / 1000)
]);
$emoji = new CustomEmoji;

View file

@ -1280,7 +1280,7 @@ class ApiV1Controller extends Controller
'file.*' => function() {
return [
'required',
'mimes:' . config_cache('pixelfed.media_types'),
'mimetypes:' . config_cache('pixelfed.media_types'),
'max:' . config_cache('pixelfed.max_photo_size'),
];
},

View file

@ -183,7 +183,7 @@ class BaseApiController extends Controller
{
abort_if(!$request->user(), 403);
$this->validate($request, [
'upload' => 'required|mimes:jpeg,png,gif|max:'.config('pixelfed.max_avatar_size'),
'upload' => 'required|mimetypes:jpeg,png,gif|max:'.config('pixelfed.max_avatar_size'),
]);
try {

View file

@ -19,7 +19,7 @@ class AvatarController extends Controller
public function store(Request $request)
{
$this->validate($request, [
'avatar' => 'required|mimes:jpeg,png|max:'.config('pixelfed.max_avatar_size'),
'avatar' => 'required|mimetypes:jpeg,png|max:'.config('pixelfed.max_avatar_size'),
]);
try {

View file

@ -499,7 +499,7 @@ class DirectMessageController extends Controller
'file' => function() {
return [
'required',
'mimes:' . config_cache('pixelfed.media_types'),
'mimetypes:' . config_cache('pixelfed.media_types'),
'max:' . config_cache('pixelfed.max_photo_size'),
];
},

View file

@ -39,7 +39,7 @@ class StoryComposeController extends Controller
'file' => function() {
return [
'required',
'mimes:image/jpeg,image/png,video/mp4',
'mimetypes:image/jpeg,image/png,video/mp4',
'max:' . config_cache('pixelfed.max_photo_size'),
];
},

BIN
public/js/spa.js vendored

Binary file not shown.

Binary file not shown.