V14: Expose Umb-Notifications HTTP header (#16728)

Enables client-side dev env to access the custom header.
This commit is contained in:
Lee Kelleher
2024-07-03 10:25:44 +01:00
committed by GitHub
parent 6069610f83
commit 32fe23ba41

View File

@@ -34,7 +34,7 @@ internal static class BackOfficeCorsPolicyBuilderExtensions
{
policy
.WithOrigins(customOrigin)
.WithExposedHeaders(Constants.Headers.Location, Constants.Headers.GeneratedResource)
.WithExposedHeaders(Constants.Headers.Location, Constants.Headers.GeneratedResource, Constants.Headers.Notifications)
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials();