Skip to content

Commit fee6c6c

Browse files
authored
Update Program.cs (#35599)
1 parent c177395 commit fee6c6c

File tree

1 file changed

+1
-1
lines changed
  • aspnetcore/grpc/grpcweb/sample/8.x/GrpcGreeter

1 file changed

+1
-1
lines changed

aspnetcore/grpc/grpcweb/sample/8.x/GrpcGreeter/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
app.UseGrpcWeb(new GrpcWebOptions { DefaultEnabled = true });
3535

36-
app.MapGrpcService<GreeterService>().EnableGrpcWeb();
36+
app.MapGrpcService<GreeterService>();
3737
app.MapGet("/", () => "All gRPC service are supported by default in this example, and are callable from browser apps using the gRPC-Web protocol");
3838

3939
app.Run();

0 commit comments

Comments
 (0)