File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 9
9
"react-scripts" : " ^3.0.0"
10
10
},
11
11
"scripts" : {
12
- "start" : " run-p start:**" ,
13
- "start:app" : " react-scripts start" ,
12
+ "start" : " react-scripts start" ,
14
13
"start:lambda" : " netlify-lambda serve src/lambda" ,
15
14
"build" : " run-p build:**" ,
16
15
"build:app" : " react-scripts build" ,
Original file line number Diff line number Diff line change 1
- // show object spread works, i.e. babel works
2
- const obj = {
3
- foo : 'bar'
4
- } ;
5
1
export function handler ( event , context , callback ) {
6
- console . log ( ' queryStringParameters' , event . queryStringParameters ) ;
2
+ console . log ( " queryStringParameters" , event . queryStringParameters )
7
3
callback ( null , {
8
4
statusCode : 200 ,
9
- body : JSON . stringify ( { msg : ' Hello, World!' , ... obj } )
10
- } ) ;
5
+ body : JSON . stringify ( { msg : " Hello, World!" } )
6
+ } )
11
7
}
You can’t perform that action at this time.
0 commit comments