Skip to content

Commit 32fe23b

Browse files
authored
V14: Expose Umb-Notifications HTTP header (#16728)
Enables client-side dev env to access the custom header.
1 parent 6069610 commit 32fe23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Cms.Api.Management/DependencyInjection/BackOfficeCorsPolicyBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ internal static IUmbracoBuilder AddCorsPolicy(this IUmbracoBuilder builder)
3434
{
3535
policy
3636
.WithOrigins(customOrigin)
37-
.WithExposedHeaders(Constants.Headers.Location, Constants.Headers.GeneratedResource)
37+
.WithExposedHeaders(Constants.Headers.Location, Constants.Headers.GeneratedResource, Constants.Headers.Notifications)
3838
.AllowAnyHeader()
3939
.AllowAnyMethod()
4040
.AllowCredentials();

0 commit comments

Comments
 (0)