feat: ping endpoint
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user