From 71f341923aed48d62f7580712b69e2e35484e548 Mon Sep 17 00:00:00 2001 From: robo-mop Date: Wed, 18 Oct 2023 03:28:56 +0530 Subject: [PATCH] Fix QOI magic number --- src/client/lazy-app/util/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/lazy-app/util/index.ts b/src/client/lazy-app/util/index.ts index a7ae1fed..1ad9f6e4 100644 --- a/src/client/lazy-app/util/index.ts +++ b/src/client/lazy-app/util/index.ts @@ -103,7 +103,7 @@ const magicNumberMapInput = [ [/^\x00\x00\x00 ftypavif\x00\x00\x00\x00/, 'image/avif'], [/^\xff\x0a/, 'image/jxl'], [/^\x00\x00\x00\x0cJXL \x0d\x0a\x87\x0a/, 'image/jxl'], - [/^QOI/, 'image/qoi'], + [/^qoif/, 'image/qoi'], ] as const; export type ImageMimeTypes = typeof magicNumberMapInput[number][1];