fix Breaking change net 5 missing method

app.UseDatabaseErrorPage()
https://github.com/dotnet/efcore/issues/22687
This commit is contained in:
Borja García Rodríguez 2020-12-23 09:32:10 +01:00
parent ff728ec096
commit 1857cc1c9e

View File

@ -128,7 +128,6 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API
if (env.IsDevelopment()) if (env.IsDevelopment())
{ {
app.UseDeveloperExceptionPage(); app.UseDeveloperExceptionPage();
app.UseDatabaseErrorPage();
} }
else else
{ {