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:
@@ -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)}`,
|
||||
}),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user