aboutsummaryrefslogtreecommitdiffstats
path: root/pages/api/hello.ts
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2021-06-30 11:33:40 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2021-06-30 11:33:40 +0300
commitf021b52028f5965516671b7f53e7e71543a8ae52 (patch)
tree62a0f9499bd75c1bc46de09fda3a0e0ce092d70d /pages/api/hello.ts
parentac31a7d9d43d3dcaa37906569dcb8eaf8429b3bf (diff)
Do things
Diffstat (limited to 'pages/api/hello.ts')
-rw-r--r--pages/api/hello.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/pages/api/hello.ts b/pages/api/hello.ts
deleted file mode 100644
index f8bcc7e..0000000
--- a/pages/api/hello.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
-import type { NextApiRequest, NextApiResponse } from 'next'
-
-type Data = {
- name: string
-}
-
-export default function handler(
- req: NextApiRequest,
- res: NextApiResponse<Data>
-) {
- res.status(200).json({ name: 'John Doe' })
-}