mirror of
https://github.com/documenso/documenso.git
synced 2025-11-26 14:34:05 +10:00
health endpont
This commit is contained in:
12
pages/api/health.ts
Normal file
12
pages/api/health.ts
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import type { NextApiRequest, NextApiResponse } from "next";
|
||||||
|
|
||||||
|
type Data = {
|
||||||
|
name: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default function handler(
|
||||||
|
req: NextApiRequest,
|
||||||
|
res: NextApiResponse<Data>
|
||||||
|
) {
|
||||||
|
res.status(200).json({ name: "Api up and running :)" });
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user