We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc7b36a commit 1781fdeCopy full SHA for 1781fde
1 file changed
netlify/functions/hello.js
@@ -0,0 +1,14 @@
1
+export default async () => {
2
+ return new Response(
3
+ `<!doctype html>
4
+<html lang="en">
5
+ <head><meta charset="utf-8"><title>Hello</title></head>
6
+ <body><h1>Hello, World!</h1></body>
7
+</html>`,
8
+ { headers: { 'content-type': 'text/html; charset=utf-8' } },
9
+ );
10
+};
11
+
12
+export const config = {
13
+ path: '/developers/api/hello',
14
0 commit comments