Answer the question
In order to leave comments, you need to log in
How to disable connection error output in Chrome console?
I am using socket.io for client and server communication.
It is assumed that the application can work offline.
In this case, socket.io constantly tries to connect and the message is displayed in the console
How can I turn off this message?
Answer the question
In order to leave comments, you need to log in
Make a check when connecting to the socket, if there is no connection on the socket, then save this state and do not make repeated attempts to connect.
var userName = '<?php echo $row_hear['hear']; ?>';
var tl = new Date(userName + '/01/01 00:00:00');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question