danTapps / homebridge-hubitat-makerapi

Apache License 2.0
29 stars 15 forks source link

Introduce support for `https:` in util_http. #25

Open bdruth opened 1 year ago

bdruth commented 1 year ago

Currently, the plugin doesn't support communicating with a Hubitat hub using SSL exclusively, as documented in this community post. This PR introduces support in util_http.js to detect that an https: URL protocol is configured in the plugin's app_url and makes the appropriate adjustments for that.