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", () => {