Skip to content

Commit

Permalink
update readme kobake#19
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaspierre1990 committed Dec 19, 2018
1 parent d052d42 commit 9944eaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
....
app.UseMvc(routes =>
{
routes.MapRouteAnalyzer("/routes"); // Add
routes.MapRoute(
name: "default",
template: "{controller}/{action=Index}/{id?}");
});

//This is a temporary workaround solution for endpoint routing of .NET core 2.2
app.MapRouteAnalyzer("/routes");
}
```

Expand Down

0 comments on commit 9944eaf

Please sign in to comment.