1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 14:56:21 -04:00
jarv.is/functions/hello.js

13 lines
298 B
JavaScript

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