Skip to content

Commit 99e527f

Browse files
Rick-Andersoncommonsensesoftware
authored andcommitted
use IsDevelopment
1 parent bb62b0b commit 99e527f

File tree

1 file changed

+2
-2
lines changed
  • examples/AspNetCore/OData/ODataOpenApiExample

1 file changed

+2
-2
lines changed

examples/AspNetCore/OData/ODataOpenApiExample/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@
8080

8181
var app = builder.Build();
8282

83-
// Configure the HTTP request pipeline.
83+
// Configure HTTP request pipeline.
8484

8585
if ( app.Environment.IsDevelopment() )
8686
{
87-
// navigate to ~/$odata to determine whether any endpoints did not match an odata route template
87+
// Access ~/$odata to identify OData endpoints that failed to match a route template.
8888
app.UseODataRouteDebug();
8989
}
9090

0 commit comments

Comments
 (0)