Skip to content

Commit cb0c9c7

Browse files
authored
Update CORS_Startup.cs (#17819)
* Update CORS_Startup.cs * Update CORS_Startup.cs
1 parent fd87cd8 commit cb0c9c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aspnetcore/grpc/browser/sample/CORS_Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public void ConfigureServices(IServiceCollection services)
88
builder.AllowAnyOrigin()
99
.AllowAnyMethod()
1010
.AllowAnyHeader()
11-
.WithExposedHeaders("Grpc-Status", "Grpc-Message");
11+
.WithExposedHeaders("Grpc-Status", "Grpc-Message", "Grpc-Encoding", "Grpc-Accept-Encoding");
1212
}));
1313
}
1414

0 commit comments

Comments
 (0)