Skip to content

Commit

Permalink
Create /claimstatus/api/health endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kalvinwang committed Aug 18, 2021
1 parent fa8b972 commit ed95d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/hello.ts → pages/api/health.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import { NextApiRequest, NextApiResponse } from 'next'

export default (_req: NextApiRequest, res: NextApiResponse): void => {
res.status(200).json({ name: 'John Doe' })
res.status(200).json({ status: 'Claim Tracker application is alive' })
}

0 comments on commit ed95d29

Please sign in to comment.