We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd9d7f5 commit d6b9b95Copy full SHA for d6b9b95
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/Startup.cs
@@ -16,6 +16,7 @@
16
using AbpCompanyName.AbpProjectName.Identity;
17
18
using Abp.AspNetCore.SignalR.Hubs;
19
+using Microsoft.AspNetCore.Mvc;
20
21
namespace AbpCompanyName.AbpProjectName.Web.Host.Startup
22
{
@@ -35,7 +36,7 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
35
36
// MVC
37
services.AddMvc(
38
options => options.Filters.Add(new CorsAuthorizationFilterFactory(_defaultCorsPolicyName))
- );
39
+ ).SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
40
41
IdentityRegistrar.Register(services);
42
AuthConfigurer.Configure(services, _appConfiguration);
0 commit comments