invidious.io/assets/lambda/hi-from-lambda.js
2021-03-18 15:50:09 +01:00

11 lines
232 B
JavaScript

exports.handler = (event, context, callback) => {
callback (null, {
statusCode: 200,
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
message: 'Hi from Lambda.',
}),
});
}