Skip to content

Commit

Permalink
Merge pull request #444 from syphar/allow-post-requests-for-docs-rs
Browse files Browse the repository at this point in the history
docs.rs: allow POST requests
  • Loading branch information
jdno authored Jul 17, 2024
2 parents 57c6933 + 0ffbcf7 commit 942c651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/docs-rs/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ resource "aws_cloudfront_distribution" "webapp" {

default_cache_behavior {
target_origin_id = "ec2"
allowed_methods = ["GET", "HEAD", "OPTIONS"]
allowed_methods = ["GET", "HEAD", "OPTIONS", "POST"]
cached_methods = ["GET", "HEAD", "OPTIONS"]
compress = true
viewer_protocol_policy = "redirect-to-https"
Expand Down

0 comments on commit 942c651

Please sign in to comment.