Skip to content

Commit

Permalink
Merge pull request #559 from bcgov/1.2.7
Browse files Browse the repository at this point in the history
1.2.7
  • Loading branch information
ychung-mot authored Nov 26, 2020
2 parents b004d1b + 98eb2ad commit fced803
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/Hmcr.Api/Extensions/IServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
});
}
Expand Down
2 changes: 1 addition & 1 deletion api/Hmcr.Api/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"AllowedHosts": "*",
"Constants": {
"Version": "1.2.6.0",
"Version": "1.2.7.0",
"SwaggerApiUrl": "/swagger/v1/swagger.json"
},
"Serilog": {
Expand Down

0 comments on commit fced803

Please sign in to comment.