update help text in server script

7_ontrack
shane tully 2018-01-07 15:53:30 -08:00
parent 92b540cc06
commit 9a06994998
2 changed files with 7 additions and 2 deletions

View File

@ -18,7 +18,10 @@ $ npm install
$ npm start $ npm start
``` ```
With the server running, open a recent version of Firefox or Chrome and visit `https://localhost:8443`. Note the HTTPS! There is no redirect from HTTP to HTTPS. With the server running, open a recent version of Firefox or Chrome and visit `https://localhost:8443`.
* Note the HTTPS! There is no redirect from HTTP to HTTPS.
* Some browsers or OSs may not allow the webcam to be used by multiple pages at once. You may need to use two different browsers or machines.
## TLS ## TLS

View File

@ -52,6 +52,8 @@ wss.broadcast = function(data) {
}; };
console.log('Server running. Visit https://localhost:' + HTTPS_PORT + ' in Firefox/Chrome.\n\n\ console.log('Server running. Visit https://localhost:' + HTTPS_PORT + ' in Firefox/Chrome.\n\n\
Some important notes:\n\
* Note the HTTPS; there is no HTTP -> HTTPS redirect.\n\ * Note the HTTPS; there is no HTTP -> HTTPS redirect.\n\
* You\'ll also need to accept the invalid TLS certificate.\n' * You\'ll also need to accept the invalid TLS certificate.\n\
* Some browsers or OSs may not allow the webcam to be used by multiple pages at once. You may need to use two different browsers or machines.\n'
); );