health check API route
This commit is contained in:
parent
2b783145d4
commit
f81999241f
1 changed files with 9 additions and 0 deletions
9
client/pages/api/health.ts
Normal file
9
client/pages/api/health.ts
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import { NextApiRequest, NextApiResponse } from "next"
|
||||||
|
|
||||||
|
const handler = async (_: NextApiRequest, res: NextApiResponse) => {
|
||||||
|
return res.json({
|
||||||
|
status: "UP"
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export default handler
|
Loading…
Reference in a new issue