debug
This commit is contained in:
@@ -7,11 +7,11 @@ import {applyFills} from "@/blockchain/common.js";
|
|||||||
export const socket = io(import.meta.env.VITE_WS_URL || undefined, {transports: ["websocket"]})
|
export const socket = io(import.meta.env.VITE_WS_URL || undefined, {transports: ["websocket"]})
|
||||||
|
|
||||||
socket.on('connect', () => {
|
socket.on('connect', () => {
|
||||||
console.log('ws connected')
|
console.log(new Date(), 'ws connected')
|
||||||
})
|
})
|
||||||
|
|
||||||
socket.on('disconnect', () => {
|
socket.on('disconnect', () => {
|
||||||
console.log('ws disconnected')
|
console.log(new Date(), 'ws disconnected')
|
||||||
})
|
})
|
||||||
|
|
||||||
socket.on('welcome', async (data) => {
|
socket.on('welcome', async (data) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user