From 4d8c3aef6827de53c00b61ef878d623f8eff6623 Mon Sep 17 00:00:00 2001 From: Jannik Date: Sat, 27 Sep 2025 19:46:28 +0200 Subject: [PATCH] feat: ping endpoint --- src/main.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.ts b/src/main.ts index ed81b9b..f091c7f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -70,6 +70,10 @@ app.get("/api/config", (c) => { }); }); +app.get("/api/ping", (c) => { + return c.json({ pong: true }); +}); + app.post("/api/user", async (c) => { const { token } = await c.req.json(); if (!token) {