feat: add /api/health endpoint
This commit is contained in:
@@ -6,6 +6,10 @@ import { logger } from "./lib/logger";
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
app.get("/api/health", (c) => {
|
||||
return c.json({ status: "ok", timestamp: new Date().toISOString() });
|
||||
});
|
||||
|
||||
app.route("/api/quotes", quotesRouter);
|
||||
|
||||
app.use("/assets/*", serveStatic({ root: "./web" }));
|
||||
|
||||
Reference in New Issue
Block a user