返回 DeepSeek-Reasonix
health.ts
根目录 / workers / accounts / src / routes / health.ts
1 import { Hono } from "hono";
2 import type { AppEnv } from "../env";
3
4 const health = new Hono<AppEnv>();
5
6 health.get("/", (c) => c.json({ ok: true, service: "accounts" }));
7 health.get("/health", (c) => c.json({ ok: true, service: "accounts" }));
8
9 export default health;
10
10 lines TYPESCRIPT