1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-05-17 20:24:26 -04:00

make sure config for Netlify functions is okay so far 😬

[skip ci]
This commit is contained in:
2020-07-10 20:00:39 -04:00
parent 78001a69d5
commit 725c482ba3
13 changed files with 3062 additions and 70 deletions
+12
View File
@@ -0,0 +1,12 @@
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)}`,
}),
};
}