From 23457d471b68fba12be53d20e817e5a1b9f6fd70 Mon Sep 17 00:00:00 2001 From: Law Date: Thu, 6 Jun 2024 16:52:11 +0000 Subject: [PATCH] add support for avif image preview --- packages/dashboard/src/components/preview/FilePreview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dashboard/src/components/preview/FilePreview.vue b/packages/dashboard/src/components/preview/FilePreview.vue index 8cea8a0..32a1e8d 100644 --- a/packages/dashboard/src/components/preview/FilePreview.vue +++ b/packages/dashboard/src/components/preview/FilePreview.vue @@ -157,7 +157,7 @@ export default { previewConfig: [ { - extensions: ["png", "jpg", "jpeg", "webp"], + extensions: ["png", "jpg", "jpeg", "webp", "avif"], type: "image", downloadType: "objectUrl" },