From 69f8956cfa034aee61971044c26f784335f958ad Mon Sep 17 00:00:00 2001 From: smfahim25 Date: Thu, 20 Mar 2025 14:50:11 +0600 Subject: [PATCH] update --- src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index a757a59..b6d6f10 100644 --- a/src/app.ts +++ b/src/app.ts @@ -28,7 +28,7 @@ const app = new Elysia() }) ) .get("/test", () => "Hello World", {}) - .post("/test-post", ({ body }) => { + .post("/api/test-post", ({ body }) => { console.log("Received POST with body:", body); return { success: true, received: body }; })