1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 17:30:28 -04:00
jarv.is/functions/hello.js
2020-07-16 15:02:26 -04:00

13 lines
288 B
JavaScript

export async function handler(event, context) {
return {
statusCode: 200,
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
message: "Hello from the other side...",
lucky_num: `${Math.floor(Math.random() * 100)}`,
}),
};
}