Skip to content

Commit bbc4193

Browse files
authored
Correct the svg entry - don't use full mime type here
1 parent 0f0cf0a commit bbc4193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ protected function logActivity(string $type, string|Loggable $detail = ''): void
163163
*/
164164
protected function getImageValidationRules(): array
165165
{
166-
return ['image_extension', 'mimes:jpeg,png,gif,webp,svg+xml', 'max:' . (config('app.upload_limit') * 1000)];
166+
return ['image_extension', 'mimes:jpeg,png,gif,webp,svg', 'max:' . (config('app.upload_limit') * 1000)];
167167
}
168168

169169
/**

0 commit comments

Comments
 (0)