diff options
Diffstat (limited to 'packages/api/routes')
| -rw-r--r-- | packages/api/routes/health.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/api/routes/health.ts b/packages/api/routes/health.ts new file mode 100644 index 00000000..64c2d45b --- /dev/null +++ b/packages/api/routes/health.ts @@ -0,0 +1,16 @@ +import { Hono } from "hono"; + +import { Context } from "@karakeep/trpc"; + +const health = new Hono<{ + Variables: { + ctx: Context; + }; +}>().get("/", (c) => { + return c.json({ + status: "ok", + message: "Web app is working", + }); +}); + +export default health; |
