There was an error while loading. Please reload this page.
1 parent 1b1e3d0 commit f8cbd07Copy full SHA for f8cbd07
1 file changed
apps/backend/src/api/health.ts
@@ -1,5 +1,5 @@
1
-import { Hono } from "hono";
+import { Hono } from 'hono';
2
3
-const health = new Hono().get("/", (c) => c.text("Health ok!"));
+const health = new Hono().get('/', (c) => c.json({ message: 'Health ok!' }));
4
5
export default health;
0 commit comments