Closed zohassadar closed 7 months ago
Merged after adding a commit to lint!
Couple of notes on http vs. https:
localhost:5000
to be treated as a secure host in the chrome browser settings: chrome://flags/#unsafely-treat-insecure-origin-as-secure
I run my local instance of nestrischamps on a computer that isn't my normal desktop, so in order to prevent the browser complaining about permission issues with either the webcam or serial port over HTTP, I bring the server up with a self signed certificate in HTTPS mode. This change modifies server.js to bring up an HTTPS server if a cert file and key file are specified with environment variables. This also modifies the playback link to be HTTPS.