mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Setup eleventy serverless
This commit is contained in:
parent
6b2a827a11
commit
f839b829f4
5 changed files with 109 additions and 81 deletions
|
|
@ -1,20 +0,0 @@
|
|||
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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue