From 5ce896609a3368582f905481f91616358fb8588c Mon Sep 17 00:00:00 2001 From: Alvaro <110414366+alvaro-signal@users.noreply.github.com> Date: Tue, 7 Mar 2023 13:52:49 -0700 Subject: [PATCH] Support for avif image format --- ts/util/GoogleChrome.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/util/GoogleChrome.ts b/ts/util/GoogleChrome.ts index ff0df00de..9534e5568 100644 --- a/ts/util/GoogleChrome.ts +++ b/ts/util/GoogleChrome.ts @@ -7,6 +7,7 @@ type MIMETypeSupportMap = Record; // See: https://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support const SUPPORTED_IMAGE_MIME_TYPES: MIMETypeSupportMap = { + 'image/avif': true, 'image/bmp': true, 'image/gif': true, 'image/jpeg': true,