feat: add bot action controls and real-time vital statistics to the web dashboard

This commit is contained in:
syntaxbullet
2026-01-07 14:26:37 +01:00
parent 9804456257
commit 8047bce755
7 changed files with 588 additions and 582 deletions

View File

@@ -45,5 +45,12 @@ export async function router(request: Request): Promise<Response> {
}
}
if (method === "POST") {
if (url.pathname === "/api/actions") {
const { actionsRoute } = await import("./routes/actions");
return actionsRoute(request);
}
}
return new Response("Not Found", { status: 404 });
}