web
web copied to clipboard
add ability to enable/disable HTTPS connections
Closes #249
Not ready, will delete this when ready
Issue: Browsers block mixed content, which is when secure HTTPS pages call insecure HTTP urls. Because of this you'll need to add logic to:
- Set the initial/default states based on
location.protocol === 'https:'. - Disable the
<Switch>iflocation.protocol === 'https:'.
@Hunter275 We should get this PR marked as ready so it can get merged
I need to catch up with where this ended up, then we can merge.