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