3 ms·
Nice project, but why do you need to redirect from HTTPS to HTTP? Besides being a bad security practice, it also breaks on Firefox when HTTPS-Only Mode[1] is en
by jacopoj 6y ago
Nice project, but why do you need to redirect from HTTPS to HTTP? Besides being a bad security practice, it also breaks on Firefox when HTTPS-Only Mode[1] is enabled.
[1]: https://support.mozilla.org/en-US/kb/https-only-prefs https://support.mozilla.org/en-US/kb/https-only-prefs
- freetonik 6y agoThe HN search API[1] serves via HTTP only, so my page can't be served via HTTPS while making HTTP requests. 1. https://hn.algolia.com/api https://hn.algolia.com/api
- jacopoj 6y agoThe HN search API does serve via HTTPS, and it also redirects HTTP requests to HTTPS. Demo: [edit: removed]
- freetonik 6y agoWell, I don't know what was my problem, but for some reason I couldn't make the HTTPS requests, and couldn't find any info about this. It does indeed work, and I believe I need to have some wine. Thank you! I've re-deployed the page with https now.
- jacopoj 6y agoNo problem, glad you sorted it out.