ping endpoint

This commit is contained in:
Atridad Lahiji 2023-07-03 16:00:06 -06:00 committed by atridadl
parent 236c34e85d
commit d9175b117e
No known key found for this signature in database

5
src/pages/api/ping.ts Normal file
View file

@ -0,0 +1,5 @@
import { NextApiRequest, NextApiResponse } from "next";
export default function handler(req: NextApiRequest, res: NextApiResponse) {
res.status(200).json({ result: "Pong!" });
}