digital-dream-labs / vector-web-setup

Tool to perform initial configuration of Vector robots.
MIT License
65 stars 57 forks source link

SSL Support #36

Open TheDeadGuy opened 3 years ago

TheDeadGuy commented 3 years ago

Linux info

In your working directory (run command "pwd" to find what your current working directory is), have a cert.pem and a key.pem. (Must be a valid keypair generated) when you run "vector-web-setup serve" and it will create a https connection.

The following flag may need enabling as per this site --> https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth#browser_compatibility opera://flags/#enable-experimental-web-platform-features chrome://flags/#enable-experimental-web-platform-features

If you get a message about chrome required. This will resolve this issue, as for bluetooth capability, service either requires localhost or https connection.

Not sure why my version of the file has a line missing at the bottom, this isn't a change i've made. will most likely restore this to original.