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:
Forward: none
ViewerProtocolPolicy: redirect-to-https
CacheBehaviors:
- PathPattern: "/api/*/*"
- PathPattern: "/api/article/*"
AllowedMethods:
- HEAD
- DELETE
......@@ -165,7 +165,7 @@ Resources:
LambdaFunctionAssociations:
- EventType: viewer-request
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:
QueryString: true
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