feat(api): set up Elysia server with health check on Next.js catch-all route
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Elysia } from "elysia"
|
||||
|
||||
export const healthRoutes = new Elysia({ prefix: "/health" }).get(
|
||||
"/",
|
||||
() => ({
|
||||
status: "ok",
|
||||
timestamp: new Date().toISOString(),
|
||||
service: "deckyvault-api",
|
||||
}),
|
||||
)
|
||||
Reference in New Issue
Block a user