update: added ttt to nginx configuration
This commit is contained in:
parent
5a884ef4c5
commit
c71d332c39
2 changed files with 15 additions and 1 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue