This commit is contained in:
Leifer Mendez
2022-02-03 23:21:42 +01:00
parent c7bc021f93
commit 4624cb6c60
7 changed files with 132 additions and 33 deletions

16
controllers/socket.js Normal file
View File

@@ -0,0 +1,16 @@
module.exports = (socket) => {
return {
sendQR:(qr) => {
socket.emit('connection_qr',{
qr
})
},
sendStatus:() => {
socket.emit('connection_status',{
a:1
})
}
}
}