minor changes

This commit is contained in:
Julien LEICHER 2020-12-21 18:18:06 +01:00
parent 009689449d
commit de8b1e6e21
No known key found for this signature in database
GPG Key ID: BE0761B6A007EB96
2 changed files with 3 additions and 2 deletions

View File

@ -68,7 +68,7 @@ namespace Api
services.AddControllers(o =>
{
o.Filters.Add(new AuthorizeFilter());
o.Filters.Add(new AuthorizeFilter()); // Ou MapControllers().RequireAuthentication()
});
services.AddSwaggerDocument(d =>

View File

@ -3,7 +3,8 @@
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.EntityFrameworkCore": "Information"
}
}
}