close socket

This commit is contained in:
sky
2025-10-26 15:30:09 -04:00
parent 55e3f5a3c4
commit 39cdf17e3e

View File

@ -85,7 +85,7 @@ wss.on("connection", function connection(ws, req, res) {
} }
}); });
ws.on("close", () => {}); ws.on("close", () => {server.close()});
}); });
app.post( app.post(
"/api/event", "/api/event",