ping endpoint
This commit is contained in:
parent
f2ef805538
commit
3de5f3e7ba
1 changed files with 5 additions and 0 deletions
5
src/pages/api/ping.ts
Normal file
5
src/pages/api/ping.ts
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import { NextApiRequest, NextApiResponse } from "next";
|
||||||
|
|
||||||
|
export default function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||||
|
res.status(200).json({ result: "Pong!" });
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue