mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
15 lines
327 B
JavaScript
15 lines
327 B
JavaScript
exports.handler =
|
|
/**
|
|
* @param {import('aws-lambda').APIGatewayProxyEvent} event
|
|
* @param {any} context
|
|
*/
|
|
async function (event, context) {
|
|
return {
|
|
body: JSON.stringify(new Date().toTimeString()),
|
|
headers: {
|
|
"Content-Type": "application/json",
|
|
},
|
|
statusCode: 200,
|
|
};
|
|
};
|