Skip to content

Commit 4927dab

Browse files
committed
Allow credentials for CORS required by SignalR
1 parent 4935782 commit 4927dab

File tree

1 file changed

+3
-0
lines changed
  • aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup

1 file changed

+3
-0
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/Startup.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
6767
)
6868
.AllowAnyHeader()
6969
.AllowAnyMethod()
70+
#if FEATURE_SIGNALR_ASPNETCORE
71+
.AllowCredentials()
72+
#endif
7073
)
7174
);
7275

0 commit comments

Comments
 (0)