From 6042c415f56a9d09358ff7754acabded3e10390a Mon Sep 17 00:00:00 2001 From: Darrel Siegle Date: Tue, 24 Nov 2020 11:14:42 -0800 Subject: [PATCH 1/2] TH-68240 - Hotfix for work report export hanging on generating report. --- api/Hmcr.Api/Extensions/IServiceCollectionExtensions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); }); }); } From 25fa8d67e07225e11279de07d0d2e3e551d132a4 Mon Sep 17 00:00:00 2001 From: Darrel Siegle Date: Tue, 24 Nov 2020 11:31:58 -0800 Subject: [PATCH 2/2] Updated Version # --- api/Hmcr.Api/appsettings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": {