website-2/public/api/healthcheck.ts
Nick Bland 0b39026386
Set up framework for my content
remove all nextJS framework stuff, add in logo files, add in a healthcheck API endpoint, navbar component starter.
2022-04-16 21:19:04 +10:00

5 lines
198 B
TypeScript

import type { NextApiRequest, NextApiResponse } from "next";
export default function handler(_req: NextApiRequest, res: NextApiResponse) {
res.status(200).json({statusCode:200, message:"Ok"})
}