diff --git a/api/Hmcr.Api/Extensions/IServiceCollectionExtensions.cs b/api/Hmcr.Api/Extensions/IServiceCollectionExtensions.cs index 6c375661..8dc68c71 100644 --- a/api/Hmcr.Api/Extensions/IServiceCollectionExtensions.cs +++ b/api/Hmcr.Api/Extensions/IServiceCollectionExtensions.cs @@ -226,7 +226,8 @@ public static void AddHmcrCors(this IServiceCollection services) { builder.WithOrigins("https://dev-hmcr.th.gov.bc.ca", "https://tst-hmcr.th.gov.bc.ca", "https://uat-hmcr.th.gov.bc.ca", "https://hmcr.th.gov.bc.ca") .AllowAnyHeader() - .AllowAnyMethod(); + .AllowAnyMethod() + .WithExposedHeaders("Content-Disposition"); }); }); } diff --git a/api/Hmcr.Api/appsettings.json b/api/Hmcr.Api/appsettings.json index d6affecd..c2b6c846 100644 --- a/api/Hmcr.Api/appsettings.json +++ b/api/Hmcr.Api/appsettings.json @@ -1,7 +1,7 @@ { "AllowedHosts": "*", "Constants": { - "Version": "1.2.6.0", + "Version": "1.2.7.0", "SwaggerApiUrl": "/swagger/v1/swagger.json" }, "Serilog": {