Simplifying the options to the error page middleware.

This commit is contained in:
Praburaj 2014-03-27 16:23:58 -07:00
parent 4fc1857994
commit 2a19ec7b2a
1 changed files with 1 additions and 9 deletions

View File

@ -22,15 +22,7 @@ public class Startup
{
CreateAdminUser();
app.UseErrorPage(new ErrorPageOptions()
{
ShowCookies = true,
ShowEnvironment = true,
ShowExceptionDetails = true,
ShowHeaders = true,
ShowQuery = true,
ShowSourceCode = true
});
app.UseErrorPage(ErrorPageOptions.ShowAll);
app.UseFileServer();