minor changes

This commit is contained in:
Julien LEICHER 2020-12-21 18:18:06 +01:00
parent 7a38bed6b9
commit 40f8d4b1dc
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 => services.AddControllers(o =>
{ {
o.Filters.Add(new AuthorizeFilter()); o.Filters.Add(new AuthorizeFilter()); // Ou MapControllers().RequireAuthentication()
}); });
services.AddSwaggerDocument(d => services.AddSwaggerDocument(d =>

View File

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