status => stats
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user