We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 330ebed commit 6544e06Copy full SHA for 6544e06
1 file changed
Helpers/FileManager.php
@@ -45,7 +45,7 @@ public function getRegex(): string
45
46
return match ($this->getType()) {
47
'media' => '/\.(mp4|ogg|webm)$/i',
48
- 'image' => '/\.(gif|png|jpe?g|svg)$/i',
+ 'image' => '/\.(gif|png|jpe?g|svg|webp)$/i',
49
default => '/.+$/i',
50
};
51
}
0 commit comments