status => stats

This commit is contained in:
Darius
2026-03-05 19:52:24 +01:00
parent 963c0ca9a6
commit 4569d786d8

View File

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