ecliptica/server/routers/hub-video/index.js

12 lines
192 B
JavaScript
Raw Permalink Normal View History

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