Local host is considered a secure context, even though it's HTTP. The browser treats it as so because it knows that it's running on your local machine locally. A lot of the JavaScript APIs don't work unless you're on a secure context. So you have to use something that gives you HTTPS.
In this Hasty Treat, Scott and Wes talk about why you might need to tunnel to your local computer, and how to set that up securely.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
Tweet us your tasty treats