Skip to content

Commit c1fe615

Browse files
authored
added grpc-web as an content type and mapped it to grpc-proto
1 parent be73e5c commit c1fe615

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/model/events/content-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ const mimeTypeToContentTypeMap: { [mimeType: string]: ViewableContentType } = {
118118
'application/grpc+protobuf': 'grpc-proto',
119119
'application/grpc-proto': 'grpc-proto',
120120
'application/grpc-protobuf': 'grpc-proto',
121+
'application/grpc-web': 'grpc-proto',
121122

122123
'application/octet-stream': 'raw'
123124
} as const;

0 commit comments

Comments
 (0)