pankod/next-boilerplate

View on GitHub
pages/api/health-check.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { NextApiRequest, NextApiResponse } from "next";

export default (req: NextApiRequest, res: NextApiResponse): void => {
    res.status(200).json({ status: "OK" });
};