Skip to content

Commit

Permalink
docs.rs: allow POST requests
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Jul 17, 2024
1 parent d37c275 commit 0ffbcf7
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 0ffbcf7

Please sign in to comment.