update: added ttt to nginx configuration

This commit is contained in:
Maieul BOYER 2025-12-22 14:56:39 +01:00 committed by apetitco
parent 5a884ef4c5
commit c71d332c39
2 changed files with 15 additions and 1 deletions

View file

@ -18,7 +18,7 @@ const fastifySocketIO: FastifyPluginAsync = fp(async (fastify) => {
}
fastify.decorate(
'io',
new Server(fastify.server, { path: '/api/chat/socket.io' }),
new Server(fastify.server, { path: '/api/ttt/socket.io' }),
);
fastify.addHook('preClose', defaultPreClose);
fastify.addHook('onClose', (instance: FastifyInstance, done) => {