Currently sequencer.publiclab.org has an SSL certificate but it can run without https as well. If no https:// is included in the URL, then an insecure connection is opened. We have to always redirect to the https page.
Create a function which checks the page URL. If the URL doesn't contain https, then it should redirect to https://rest-of-the-url. Run this function before the sequencer is loaded.
E.g.
http://sequencer.publiclab.org#step={} should be redirected to https://sequencer.publiclab.org#steps={}
If you have any other ideas then please let us know. We can discuss those below.
Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.
To learn how to write really great issues, which increases the chances they'll be resolved, see:
https://publiclab.org/wiki/developers#Contributing+for+non-coders
@publiclab/is-reviewers can this be an fto-candidate ?
I have added the label but let's see in the PR if the load time is noticed. Thank you!
Great idea! I think in one of our repos we actually have a redirect... can't remember which though!
Will love to work upon it .
Awesome!!
I was able to turn on this setting in the gh-pages configuration! I think we can close now, thanks for the great idea!
Most helpful comment
I have added the label but let's see in the PR if the load time is noticed. Thank you!