add wss behavior note to README.md and docs/CHANGELOG.md

This commit is contained in:
Nick Krecklow 2020-05-05 17:39:51 -05:00
parent bbaecce036
commit 00021c03dc
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94
2 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,8 @@ You can see an up-to-date copy of the production branch running on https://minet
5. Run ```npm run build``` (this bundles `assets/` into `dist/`)
6. Run ```node main.js``` to boot the system (may need sudo!)
If your deployment is using **https**, you will need to modify line 13 in `assets/js/socket.js` to use `wss://` instead of `ws://`. Otherwise browsers may prevent the WebSocket connection as it would be insecure on a secured connection.
(There's also ```install.sh``` and ```start.sh```, but they may not work for your OS.)
Database logging is disabled by default. You can enable it in ```config.json``` by setting ```logToDatabase``` to true.

View File

@ -3,6 +3,8 @@
- Frontend reconnect behavior has been improved to use exponential backoff behavior (up to 30 seconds) with unlimited retries.
- The "Lost connection!" message will now show the reconnection attempt timer.
If your deployment is using **https**, you will need to modify line 13 in `assets/js/socket.js` to use `wss://` instead of `ws://`. Otherwise browsers may prevent the WebSocket connection as it would be insecure on a secured connection.
**5.2.1** *(May 1 2020)*
- The historical graph will now auto scale its yaxis steps.