From ed95d2943a40a9aee3e8933ea132dfbed5a0fdff Mon Sep 17 00:00:00 2001 From: Kalvin <82277+kalvinwang@users.noreply.github.com> Date: Wed, 18 Aug 2021 19:33:51 -0400 Subject: [PATCH] Create /claimstatus/api/health endpoint --- pages/api/{hello.ts => health.ts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename pages/api/{hello.ts => health.ts} (74%) diff --git a/pages/api/hello.ts b/pages/api/health.ts similarity index 74% rename from pages/api/hello.ts rename to pages/api/health.ts index a99254b1..3b455677 100644 --- a/pages/api/hello.ts +++ b/pages/api/health.ts @@ -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' }) }