How to Add Ngrok to Allowed Hosts

Currently trying to connect to my site with ngrok, however I’m not familiar with with adding it to Discourse’s host whitelist?


My installation is based on this guide Beginners Guide to Install Discourse on Windows 10 for Development

1 Like

See

So this should work:

RAILS_DEVELOPMENT_HOSTS=0.tcp.ngrok.io bin/unicorn
8 Likes

When working with audio/video related functionality, always use the https based url provided by ngrok. Otherwise, the browser won’t prompt for allowing access to the hardware.

3 Likes