Skip to content

Commit 0ffbcf7

Browse files
committed
docs.rs: allow POST requests
1 parent d37c275 commit 0ffbcf7

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)