added notes

This commit is contained in:
slynn1324 2021-01-28 16:53:54 -06:00
parent d73f429976
commit b2c4e494ed
2 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,11 @@
// decorate on web socket functions. if web sockets fail to work, the app should keep working anyway.
// if you want to permanently disable websockets, just remove the src include
// the websocket is ONLY used to broadcast refresh notifications, no interesting data is passed
// across the wire. this is done because it can be harder to support certain security and proxy
// modes for different browsers, particularly client ssl certifacts are not passed by safari.
//
// by not passing any interesting data, it's reasonably safe to let the websocket remain open
window.socketConnected = false;
window.socket = null;