mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
use only Controllers rather than all of MVC for API
This commit is contained in:
parent
0443594a1c
commit
9712d459fd
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ private static void ConfigureCookiePolicy(this IServiceCollection services) =>
|
|||
});
|
||||
|
||||
private static void AddMvcCustom(this IServiceCollection services) =>
|
||||
services.AddMvc()
|
||||
services.AddControllers()
|
||||
.SetCompatibilityVersion(CompatibilityVersion.Version_3_0)
|
||||
.AddNewtonsoftJson(opts =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue