mirror of
https://github.com/acid-info/logos-press-engine.git
synced 2025-02-24 07:08:12 +00:00
feat: add healthcheck endpoint
This commit is contained in:
parent
c3808edc44
commit
89494566b3
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