Simplifying the options to the error page middleware.
This commit is contained in:
parent
4fc1857994
commit
2a19ec7b2a
|
|
@ -22,15 +22,7 @@ public class Startup
|
||||||
{
|
{
|
||||||
CreateAdminUser();
|
CreateAdminUser();
|
||||||
|
|
||||||
app.UseErrorPage(new ErrorPageOptions()
|
app.UseErrorPage(ErrorPageOptions.ShowAll);
|
||||||
{
|
|
||||||
ShowCookies = true,
|
|
||||||
ShowEnvironment = true,
|
|
||||||
ShowExceptionDetails = true,
|
|
||||||
ShowHeaders = true,
|
|
||||||
ShowQuery = true,
|
|
||||||
ShowSourceCode = true
|
|
||||||
});
|
|
||||||
|
|
||||||
app.UseFileServer();
|
app.UseFileServer();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue