10 lines
222 B
TypeScript
10 lines
222 B
TypeScript
import type { NextApiRequest, NextApiResponse } from "next"
|
|
|
|
type Data = {
|
|
status: string
|
|
}
|
|
|
|
export default function handler(_req: NextApiRequest, res: NextApiResponse<Data>) {
|
|
res.status(200).json({ status: "ok" })
|
|
}
|