Closed nemesifier closed 4 years ago
This can be easily fixed by setting debug
option as described in the used library's documentation.
In my opinion it will be better to use pladaria/reconnecting-websocket instead of current one, since it is presumably more updated(maintained). I should have checked that before choosing the current library. :sweat_smile: . It also provides an option to turn off debug messages.
One more option which can be added is to disable re-connection conditionally (if client receives 403 response).
Can't we just avoid loading the JS it if the user is not authenticated?
How to replicate:
Expected result:
Actual result: