Remove unneeded API from theme-tool

This commit is contained in:
Nate Butler 2023-02-12 21:04:54 -05:00
parent a32c0d1c9b
commit 5ce147a2ad

View file

@ -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" });
}