chore: remove unused /api dir

This commit is contained in:
Nicolás Quiroz 2023-01-04 12:03:31 -03:00
parent 01fd6e6f6b
commit 424f4a8320
1 changed files with 0 additions and 10 deletions

View File

@ -1,10 +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' });
}