Skip to content

Commit

Permalink
add some background to the CloudFront function fix (#518)
Browse files Browse the repository at this point in the history
* add some background to the function fix

* Update tofu/modules/services/frontend-infra/main.tf

Co-authored-by: Mel <[email protected]>

---------

Co-authored-by: Malini Das <[email protected]>
Co-authored-by: Andreas <[email protected]>
Co-authored-by: Mel <[email protected]>
  • Loading branch information
4 people authored Jul 5, 2024
1 parent e2be1a6 commit 35f4c63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tofu/modules/services/frontend-infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ resource "aws_cloudfront_function" "rewrite" {
}
// If empty, then add a slash!
// Required by AWS, see https://github.com/thunderbird/appointment/pull/510/
if (request.uri === '') {
request.uri = '/';
}
Expand Down

0 comments on commit 35f4c63

Please sign in to comment.