diff --git a/handler.js b/handler.js index 2e720b7..62683e1 100644 --- a/handler.js +++ b/handler.js @@ -1,14 +1,18 @@ // Define the handler function export const handler = async (event, res) => { try { + const a = 12; + const b = 12; + // Prepare the response JSON const responseJson = { - message: "Hello World" + message: `Hello World ${a+b}` }; // Print the JSON response to stdout console.log(JSON.stringify(responseJson)); - + + // Set the response headers res.setHeader('Content-Type', 'application/json');