mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
📂 Add MIME type restrictions for 'main' media collection in ProjectProposal
This commit is contained in:
@@ -73,6 +73,12 @@ class Meetup extends Model implements HasMedia
|
||||
{
|
||||
$this->addMediaCollection('logo')
|
||||
->singleFile()
|
||||
->acceptsMimeTypes([
|
||||
'image/jpeg',
|
||||
'image/png',
|
||||
'image/gif',
|
||||
'image/webp',
|
||||
])
|
||||
->useFallbackUrl(asset('img/einundzwanzig.png'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user