WASdev/lib.rtcomm.clientjs

Update config when served over ssl

Closed this issue · 1 comments

The default server config does not 'use' SSL. If we are served over an https connection, we MUST make a secure connection to the MQTT server. Basically, if the URL we are served from begins w/ https, then useSSL needs to be set on the EndpointProvider by default.

Resolved.