diff --git a/pages/api/test.ts b/pages/api/test-route.ts similarity index 88% rename from pages/api/test.ts rename to pages/api/test-route.ts index f6ac2cb..ad2f2fd 100644 --- a/pages/api/test.ts +++ b/pages/api/test-route.ts @@ -4,7 +4,7 @@ import { NextApiHandler, NextApiRequest, NextApiResponse } from "next"; * @type {NextApiHandler} */ export default function handler(req: NextApiRequest, res: NextApiResponse) { - return res.status(200).json({ + res.status(200).json({ title: "Hello There", message: "General Kenobi", });