mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Update mime_type.zig
This commit is contained in:
@@ -119,6 +119,10 @@ pub fn init(str_: string) MimeType {
|
||||
if (strings.eqlComptime(str, "javascript")) {
|
||||
return javascript;
|
||||
}
|
||||
|
||||
if (strings.eqlComptime(str, "plain")) {
|
||||
return MimeType{ .value = "text/plain", .category = .text };
|
||||
}
|
||||
}
|
||||
},
|
||||
"image".len => {
|
||||
|
||||
Reference in New Issue
Block a user