Skip to content

Commit 942c651

Browse files
authored
Merge pull request #444 from syphar/allow-post-requests-for-docs-rs
docs.rs: allow POST requests
2 parents 57c6933 + 0ffbcf7 commit 942c651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/docs-rs/cloudfront.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ resource "aws_cloudfront_distribution" "webapp" {
9090

9191
default_cache_behavior {
9292
target_origin_id = "ec2"
93-
allowed_methods = ["GET", "HEAD", "OPTIONS"]
93+
allowed_methods = ["GET", "HEAD", "OPTIONS", "POST"]
9494
cached_methods = ["GET", "HEAD", "OPTIONS"]
9595
compress = true
9696
viewer_protocol_policy = "redirect-to-https"

0 commit comments

Comments
 (0)