feat: add path to socket connection

This commit is contained in:
Ahmed Bouhuolia
2024-02-24 00:43:43 +02:00
parent 2d3544fe37
commit 7239b0ec7e
2 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ export default ({ app }) => {
################################################
`);
});
const io = new Server(server, {});
const io = new Server(server, { path: '/socket' });
// Set socket.io listeners.
io.on('connection', (socket) => {