From 99701b8d6fc0671fabc2e5d3ab7d6841bff9021a Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 17 Dec 2025 19:17:11 +0100 Subject: response with jpeg content_type on image/load --- src/mime.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mime.zig') diff --git a/src/mime.zig b/src/mime.zig index 0082f80..c60ab74 100644 --- a/src/mime.zig +++ b/src/mime.zig @@ -33,7 +33,8 @@ pub const content_types = std.StaticStringMap([]const u8).initComptime(.{ .{ ".ico", "image/vnd.microsoft.icon" }, .{ ".ics", "text/calendar" }, .{ ".jar", "application/java-archive" }, - .{ ".jpeg, .jpg", "image/jpeg" }, + .{ ".jpeg", "image/jpeg" }, + .{ ".jpg", "image/jpeg" }, .{ ".js", "text/javascript" }, .{ ".json", "application/json" }, .{ ".jsonld", "application/ld+json" }, -- cgit v1.2.3-70-g09d2