mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
20 lines
441 B
JavaScript
20 lines
441 B
JavaScript
const { builder } = require("@netlify/functions")
|
|
|
|
async function myfunction(event, context) {
|
|
return {
|
|
statusCode: 200,
|
|
headers: {
|
|
"Content-Type": "text/html",
|
|
},
|
|
body: `
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
Hello World
|
|
</body>
|
|
</html>
|
|
`,
|
|
}
|
|
}
|
|
|
|
exports.handler = builder(myfunction);
|