]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/ImageService.php
Tests: Updated comment test to account for new editor usage
[bookstack] / app / Uploads / ImageService.php
index 4d6d4919742546165dd347ccb98806469bfd3dd0..a8f1445173765d7384aa774d3b80654068741d0a 100644 (file)
@@ -13,7 +13,7 @@ use Symfony\Component\HttpFoundation\StreamedResponse;
 
 class ImageService
 {
-    protected static array $supportedExtensions = ['jpg', 'jpeg', 'png', 'gif', 'webp'];
+    protected static array $supportedExtensions = ['jpg', 'jpeg', 'png', 'gif', 'webp', 'avif'];
 
     public function __construct(
         protected ImageStorage $storage,