Commit d92b908c by Pragati Upadhyay

check socket

parent 5e21b37a
......@@ -2,6 +2,7 @@
const socketIO = require('socket.io-client')
const CONFIG = require('./config.js')
let socket = socketIO(CONFIG.SOCKET_URL)
console.log("🚀 ~ socket:", socket)
socket.on('connect', ()=>{console.log('Socket connected!') })
socket.on('disconnect', ()=>{ console.log('Socket disconnected!') })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment