werthdavid / homebridge-website-to-camera

Homebridge plugin that displays a Website as virtual camera (intended for Google Maps Traffic)
MIT License
54 stars 7 forks source link

Chromium Flags #27

Closed typkrft closed 3 years ago

typkrft commented 3 years ago

I'd love to be able to add the --ignore-certificate-errors flag to the chromium binary. There's an old govt website that I like to keep track of, but it fails because they use self-signed certs. Any help or ideas would be very welcomed. Thanks for the great module.

typkrft commented 3 years ago

Seems like a little script saved the day. Just in case anyone is looking for a way to add flags, just create a shell script.

example

#!/bin/sh
/bin/chromium-browser --ignore-certificate-errors "$@"

Don't forget to chmod +x and link to the new script in the config.json.