Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> But HTTPS only, with no option for HTTP is very much worse

Have to agree with this. Been playing with `window.addEventListener('devicemotion')` recently, that shit is https only, which means I can't debug it on a simple localhost. WTF.




Try a quick and dirty local reverse proxy like Caddy. It provides self-signed localhost TLS, trusted on the OS level (if you agree) such that the browser is none the wiser.


That's not quick n' dirty, that's a lot of hassle. I want write index.html and open the local file in a browser and that's it.


$ python -m http.server

then connect to :8000


that's not TLS




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: