diff --git a/handler.js b/handler.js index 62683e1..ee4a8bc 100644 --- a/handler.js +++ b/handler.js @@ -3,16 +3,16 @@ export const handler = async (event, res) => { try { const a = 12; const b = 12; - + // Prepare the response JSON const responseJson = { - message: `Hello World ${a+b}` + 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');