Skip to content

Commit 4984d9a

Browse files
committed
Fixes MIME type check for images
1 parent 8180813 commit 4984d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default function HomePage() {
128128
"You uploaded an audio file, so you're now speaking with Salmonn."
129129
);
130130
} else if (
131-
["audio/mpeg", "audio/wav", "audio/ogg"].includes(
131+
["image/jpeg", "image/png"].includes(
132132
file.originalFile.mime
133133
)
134134
) {

0 commit comments

Comments
 (0)