summaryrefslogtreecommitdiff
path: root/pages/api
diff options
context:
space:
mode:
authorMichał Sapka <michal@sapka.me>2023-01-02 22:12:38 +0100
committerMichał Sapka <michal@sapka.me>2023-01-02 22:12:38 +0100
commit679e6588d1ef6709f9e579f8ab2fa1b3ad2ac9d8 (patch)
treefe99580d72ae2f8a2b6dd4f97e8009fe616591c0 /pages/api
parent8b1cecc8f08e8145173c94f6236cf843073a37f4 (diff)
feat: remove old
Diffstat (limited to 'pages/api')
-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 f8bcc7e5..00000000
--- 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' })
-}