Skip to content

Commit

Permalink
Merge pull request #2279 from ASFHyP3/binary-media-types
Browse files Browse the repository at this point in the history
binary media types for RestAPI
  • Loading branch information
jtherrmann authored May 13, 2024
2 parents 8bcc005 + 7e993de commit a6ffc3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [7.2.2]

### Fixed
- Set `BinaryMediaTypes` to `*/*` for the `AWS::ApiGateway::RestApi` resource to allow images to be served via the HyP3 API. Fixes https://github.com/ASFHyP3/hyp3/issues/2278

## [7.2.1]

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions apps/api/api-cf.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Resources:
RestApi:
Type: AWS::ApiGateway::RestApi
Properties:
BinaryMediaTypes:
- '*/*'
EndpointConfiguration:
Types:
- {{ 'PRIVATE' if security_environment == 'EDC' else 'REGIONAL' }}
Expand Down

0 comments on commit a6ffc3e

Please sign in to comment.