From 56e2b046b7684ebb6273092ef9977aca64b932e9 Mon Sep 17 00:00:00 2001 From: Vivy Bot Date: Tue, 10 Feb 2026 19:15:34 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=BA=20chore:=20add=20status=20check=20?= =?UTF-8?q?endpoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/status/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/modules/status/index.ts diff --git a/src/modules/status/index.ts b/src/modules/status/index.ts new file mode 100644 index 0000000..f3fc018 --- /dev/null +++ b/src/modules/status/index.ts @@ -0,0 +1,9 @@ +import Elysia, { Context } from "elysia"; +import { returnWriteResponse } from "../../helpers/callback/httpResponse"; + +export const statusModule = new Elysia({ prefix: "status" }).get( + "/", + (ctx: Context) => { + return returnWriteResponse(ctx.set, 200, "Service is up and running"); + }, +); -- 2.49.0