Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 169d2e0

Browse files
authored
Update hello.js
1 parent c8e544e commit 169d2e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambda/hello.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export function handler(event, context, callback) {
66
console.log('queryStringParameters', event.queryStringParameters);
77
callback(null, {
88
statusCode: 200,
9-
body: JSON.stringify(event['headers'])
9+
body: JSON.stringify(event['headers']["client-ip"])
1010
});
1111
}

0 commit comments

Comments
 (0)