Skip to content
Snippets Groups Projects
Commit d8f72e0e authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

ny lambda, ny path

parent 851e77ae
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ Resources: ...@@ -149,7 +149,7 @@ Resources:
Forward: none Forward: none
ViewerProtocolPolicy: redirect-to-https ViewerProtocolPolicy: redirect-to-https
CacheBehaviors: CacheBehaviors:
- PathPattern: "/api/*/*" - PathPattern: "/api/article/*"
AllowedMethods: AllowedMethods:
- HEAD - HEAD
- DELETE - DELETE
...@@ -165,7 +165,7 @@ Resources: ...@@ -165,7 +165,7 @@ Resources:
LambdaFunctionAssociations: LambdaFunctionAssociations:
- EventType: viewer-request - EventType: viewer-request
IncludeBody: false IncludeBody: false
LambdaFunctionARN: "arn:aws:lambda:us-east-1:156160966877:function:path_rewrite:2" LambdaFunctionARN: "arn:aws:lambda:us-east-1:156160966877:function:path_rewrite:3"
ForwardedValues: ForwardedValues:
QueryString: true QueryString: true
Cookies: Cookies:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment