Skip to content

Commit

Permalink
Fix QOI magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanpingle committed Oct 17, 2023
1 parent 37cc236 commit 71f3419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/lazy-app/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 71f3419

Please sign in to comment.