invidious.io/functions/hi-from-lambda.js
2021-06-25 16:49:17 +02: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.',
}),
});
}