From 4569d786d89a6028a0a540b322a177cb54b5f21f Mon Sep 17 00:00:00 2001 From: Darius Date: Thu, 5 Mar 2026 19:52:24 +0100 Subject: [PATCH] status => stats --- src/websocket/public-routes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/websocket/public-routes.ts b/src/websocket/public-routes.ts index 96130e1..1518e08 100644 --- a/src/websocket/public-routes.ts +++ b/src/websocket/public-routes.ts @@ -13,7 +13,7 @@ export async function publicWsRoutes( }, ) { fastify.get( - "/dpu/status/events", + "/dpu/stats/events", { schema: { description: "Register for WebSocket events", @@ -25,7 +25,7 @@ export async function publicWsRoutes( (socket, _request) => { wsService.addClient(socket); socket.send(JSON.stringify({ type: "message", data: "Connected" })); - hpService.sendFullInformationToSocket(socket) + hpService.sendFullInformationToSocket(socket); logInfo(`Connection for client established`); socket.on("close", () => {