parent
152bbd1b78
commit
722d458d9f
1 changed files with 12 additions and 0 deletions
12
src/pages/healthcheck.tsx
Normal file
12
src/pages/healthcheck.tsx
Normal 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,
|
||||||
|
},
|
||||||
|
);
|
||||||
Loading…
Add table
Add a link
Reference in a new issue