Skip to content

Commit 203964f

Browse files
mnapolipgrzesik
authored andcommitted
Switch to HTTP APIs by default for other examples
1 parent 62d2c6a commit 203964f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aws-multiple-runtime/serverless.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ functions:
66
hello:
77
runtime: python3.6
88
events:
9-
- http:
9+
- httpApi:
1010
method: get
11-
path: greet
11+
path: /greet
1212
handler: web/handler.hello
1313
time:
1414
runtime: nodejs12.x
1515
events:
16-
- http:
16+
- httpApi:
1717
method: get
18-
path: time
18+
path: /time
1919
handler: api/handler.timestamp

0 commit comments

Comments
 (0)