mirror of
https://github.com/acid-info/free.technology.git
synced 2025-03-01 01:40:33 +00:00
feat: add healthcheck endpoint
This commit is contained in:
parent
da28aa2c14
commit
5b85a2286f
8
src/pages/api/health.ts
Normal file
8
src/pages/api/health.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import type { NextApiRequest, NextApiResponse } from 'next'
|
||||||
|
|
||||||
|
export default async function handler(
|
||||||
|
req: NextApiRequest,
|
||||||
|
res: NextApiResponse<any>,
|
||||||
|
) {
|
||||||
|
res.status(200).send('OK')
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user