packages/server/src/routes/health.ts 249 B raw
1
import { Hono } from "hono";
2
import type { Bindings } from "../types";
3
4
const health = new Hono<{ Bindings: Bindings }>();
5
6
health.get("/", (c) => {
7
  return c.json({ status: "ok", timestamp: new Date().toISOString() });
8
});
9
10
export default health;