Allow setting favicon with a .ico file
Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
parent
02fa6a77c3
commit
dfa17e9174
|
@ -260,6 +260,11 @@ class ImageManager {
|
|||
$supportedFormats[] = 'image/svg';
|
||||
}
|
||||
|
||||
if ($key === 'favicon') {
|
||||
$supportedFormats[] = 'image/x-icon';
|
||||
$supportedFormats[] = 'image/vnd.microsoft.icon';
|
||||
}
|
||||
|
||||
return $supportedFormats;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue