multy-stub/server/routers/old/hub-video/index.js

12 lines
195 B
JavaScript
Raw Permalink Normal View History

2024-10-16 11:06:23 +03:00
const { getIo } = require('../../../io')
2023-08-01 13:14:02 +03:00
const io = getIo()
io.on('connection', (socket) => {
socket.on('play', () => {
socket.broadcast.emit('play')
})
})
console.log('test')