fix websocket

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-07-17 23:36:41 +02:00
parent f0a2cafa74
commit a2cf2ee564
4 changed files with 18 additions and 26 deletions

View File

@@ -22,7 +22,6 @@ const liveRouter: FastifyPluginCallback = (fastify, opts, done) => {
{ websocket: true },
controller.wsVisitors
);
fastify.get('/events', { websocket: true }, controller.wsEvents);
fastify.get(
'/events/:projectId',
{ websocket: true },