V14: Expose Umb-Notifications HTTP header (#16728)
Enables client-side dev env to access the custom header.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user