From c1fe6155765d74bd12d585c45ca0ef7d48a198c4 Mon Sep 17 00:00:00 2001 From: nutterthanos Date: Sat, 22 Feb 2025 09:55:31 +1030 Subject: [PATCH] added grpc-web as an content type and mapped it to grpc-proto --- src/model/events/content-types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/model/events/content-types.ts b/src/model/events/content-types.ts index d632be1e..2b2e5c37 100644 --- a/src/model/events/content-types.ts +++ b/src/model/events/content-types.ts @@ -118,6 +118,7 @@ const mimeTypeToContentTypeMap: { [mimeType: string]: ViewableContentType } = { 'application/grpc+protobuf': 'grpc-proto', 'application/grpc-proto': 'grpc-proto', 'application/grpc-protobuf': 'grpc-proto', + 'application/grpc-web': 'grpc-proto', 'application/octet-stream': 'raw' } as const;