Skip to content

Commit

Permalink
feature #6 - update function cors
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeniosales committed Oct 17, 2022
1 parent ec8c3d4 commit 83c0705
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/4-framework/functions/product/_handlers.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
getProducts:
handler: ${self:custom.funcDir}/product/getProducts.handler
vpc:
securityGroupIds:
- sg-0cd52ea46933db116
subnetdIds:
- subnet-05d245e39491bb3d2
- subnet-06761316782230c98
events:
- http:
method: GET
cors: true
path: /${self:custom.baseApi}/products

0 comments on commit 83c0705

Please sign in to comment.