Skip to content

Commit 6921907

Browse files
committed
Add OPTIONS method to DT CDN default behavior
1 parent e6864c4 commit 6921907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cdn/dovetail-cdn/cloudfront.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ Resources:
416416
DefaultCacheBehavior:
417417
# This default behavior would handle any traffic that doesn't match
418418
# one of the provided CacheBehaviorPrefix values.
419-
AllowedMethods: [HEAD, GET]
420-
CachedMethods: [HEAD, GET]
419+
AllowedMethods: [HEAD, GET, OPTIONS]
420+
CachedMethods: [HEAD, GET, OPTIONS]
421421
CachePolicyId: !Ref CloudFrontCachePolicy
422422
Compress: false
423423
FunctionAssociations:

0 commit comments

Comments
 (0)