minor changes
This commit is contained in:
parent
009689449d
commit
de8b1e6e21
@ -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 =>
|
||||
|
||||
@ -3,7 +3,8 @@
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
"Microsoft.Hosting.Lifetime": "Information"
|
||||
"Microsoft.Hosting.Lifetime": "Information",
|
||||
"Microsoft.EntityFrameworkCore": "Information"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user