Skip to content

Commit f9a1360

Browse files
committed
Document the weird app/proto mime type
1 parent 45fe717 commit f9a1360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/events/content-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const mimeTypeToContentTypeMap: { [mimeType: string]: ViewableContentType } = {
9393
'application/x-protobuf': 'protobuf',
9494
'application/vnd.google.protobuf': 'protobuf',
9595
'application/x-google-protobuf': 'protobuf',
96-
'application/proto': 'protobuf',
96+
'application/proto': 'protobuf', // N.b. this covers all application/XXX+proto values
9797

9898
'application/octet-stream': 'raw'
9999
} as const;

0 commit comments

Comments
 (0)