Skip to content

Commit 1df47e3

Browse files
committed
feat: exposed generic routing path.
1 parent 30a54be commit 1df47e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

serverless.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ provider:
2020
- { "Fn::GetAtt": ["TodosDynamoDbTable", "Arn" ] }
2121

2222
functions:
23+
app:
24+
handler: todos/index.handler
25+
events:
26+
- http: ANY /
27+
- http: 'ANY {proxy+}'
2328
create:
2429
handler: todos/index.handler
2530
events:

0 commit comments

Comments
 (0)