From 9a0699499867fbdee9537d901f784d07e2fd6ce3 Mon Sep 17 00:00:00 2001 From: shane tully Date: Sun, 7 Jan 2018 15:53:30 -0800 Subject: [PATCH] update help text in server script --- README.md | 5 ++++- server/server.js | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71473d9..9a0236c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,10 @@ $ npm install $ 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 diff --git a/server/server.js b/server/server.js index f7000c6..275b9db 100644 --- a/server/server.js +++ b/server/server.js @@ -52,6 +52,8 @@ wss.broadcast = function(data) { }; 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\ - * 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' );