update
This commit is contained in:
parent
0ea857261e
commit
69f8956cfa
1 changed files with 1 additions and 1 deletions
|
|
@ -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 };
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue