Skip to content

Commit

Permalink
removing MapWhen for HomePage
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Smith authored and Steve Smith committed Apr 30, 2016
1 parent 806497f commit 511bffc
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public void Configure(IApplicationBuilder app,
}
app.UseStatusCodePagesWithReExecute("/errors/{0}");

app.MapWhen(context => context.Request.Path == "/", HomePage);
app.MapWhen(context => context.Request.Path == "/missingpage", builder => { });

// "/errors/400"
Expand Down

0 comments on commit 511bffc

Please sign in to comment.