3 ms·
> But HTTPS only, with no option for HTTP is very much worse Have to agree with this. Been playing with `window.addEventListener('devicemotion')` recently, tha
by est 4y ago
> 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.
- diarrhea 4y agoTry 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.
- est 4y agoThat'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.
- tgv 4y ago$ python -m http.server then connect to :8000
- est 4y agothat's not TLS
- marvinblum 4y agohttps://github.com/FiloSottile/mkcert https://github.com/FiloSottile/mkcert