feat: healthcheck api

This commit is contained in:
Nya Candy
2023-04-25 10:12:10 +08:00
parent 4f3b9bc4cc
commit 7f47f2c83a
+10
View File
@@ -0,0 +1,10 @@
import { NextApiRequest, NextApiResponse } from "next"
export default async function healthcheck(
req: NextApiRequest,
res: NextApiResponse,
) {
res.status(200).json({
ok: true,
})
}