import type { NextApiRequest, NextApiResponse } from "next";

export default async function handler(_: NextApiRequest, res: NextApiResponse) {
	return res.status(404).send("Not Found");
}

// export default async function handler(_: NextApiRequest, res: NextApiResponse) {
// if (env.NODE_ENV !== "development") {
// return res.status(404).send("Not Found");
// }

// const { renderTrpcPanel } = await import(/* webpackIgnore: true */ "trpc-ui");
// res.status(200).send(
// renderTrpcPanel(appRouter, {
// url: "/api/trpc",
// transformer: "superjson",
// }),
// );
// }
