Skip to content

Commit f8cbd07

Browse files
committed
chore: update health check endpoint to return JSON response instead of plain text
1 parent 1b1e3d0 commit f8cbd07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/backend/src/api/health.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Hono } from "hono";
1+
import { Hono } from 'hono';
22

3-
const health = new Hono().get("/", (c) => c.text("Health ok!"));
3+
const health = new Hono().get('/', (c) => c.json({ message: 'Health ok!' }));
44

55
export default health;

0 commit comments

Comments
 (0)