Skip to content

Commit c53deaf

Browse files
kuishou68OrKoN
authored andcommitted
fix: correct WebP MIME type from 'webp' to 'image/webp' in handleResponse (Closes #1898)
Signed-off-by: cocoon <54054995+kuishou68@users.noreply.github.com>
1 parent 0f29acf commit c53deaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/daemon/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export async function handleResponse(
172172
case 'image/jpeg':
173173
extension = '.jpeg';
174174
break;
175-
case 'webp':
175+
case 'image/webp':
176176
extension = '.webp';
177177
break;
178178
}

0 commit comments

Comments
 (0)