mirror of https://github.com/abpframework/abp.git
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||
using Microsoft.AspNetCore.Cors.Infrastructure; |
|||
|
|||
namespace Microsoft.AspNetCore.Cors |
|||
{ |
|||
public static class AbpCorsPolicyBuilderExtensions |
|||
{ |
|||
public static CorsPolicyBuilder WithAbpExposeHeaders(this CorsPolicyBuilder corsPolicyBuilder) |
|||
{ |
|||
return corsPolicyBuilder.WithExposedHeaders("_AbpErrorFormat"); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue