Skip to content

Commit ae600fc

Browse files
committed
missing allowed Access-Control headers
1 parent a5bfb3c commit ae600fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ export class Server {
12881288
[http2.constants.HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS]:
12891289
'OPTIONS,POST',
12901290
[http2.constants.HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS]:
1291-
'Accept-Encoding,Content-Type,Grpc-Accept-Encoding,Te,X-Grpc-Accept-Encoding,X-Te',
1291+
'Accept-Encoding,Content-Type,Grpc-Accept-Encoding,Grpc-Encoding,Te,X-Grpc-Accept-Encoding,X-Grpc-Encoding,X-Te',
12921292
[http2.constants.HTTP2_HEADER_STATUS]: http2.constants.HTTP_STATUS_OK,
12931293
},
12941294
{ endStream: true }

0 commit comments

Comments
 (0)