feat: add healthcheck endpoint

issue: #421, issue: #419
This commit is contained in:
C4illin 2025-11-02 13:43:46 +01:00
parent 152bbd1b78
commit 722d458d9f

12
src/pages/healthcheck.tsx Normal file
View file

@ -0,0 +1,12 @@
import Elysia from "elysia";
import { userService } from "./user";
export const chooseConverter = new Elysia().use(userService).get(
"/healthcheck",
() => {
return { status: "ok" };
},
{
auth: false,
},
);