Skip to content

Commit

Permalink
Adds health route
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Kawelke <[email protected]>
  • Loading branch information
seb-kw committed Nov 21, 2024
1 parent 5e8c3f5 commit 3fa8564
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pages/api/health.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { NextApiRequest, NextApiResponse } from 'next'

export default async function handler(
_req: NextApiRequest,
res: NextApiResponse,
) {
res.status(200).json({ status: 'ok' })
}

0 comments on commit 3fa8564

Please sign in to comment.