typicode / katon

(use hotel instead)
https://github.com/typicode/hotel
MIT License
683 stars 28 forks source link

support .ngrok.io domains for remote access #73

Closed jsierles closed 9 years ago

jsierles commented 9 years ago

This allows accessing subdomains over an ngrok remote tunnel. See http://ngrok.com.

jsierles commented 9 years ago

I didn't add tests because an active ngrok tunnel would be needed to test. Any ideas?

typicode commented 9 years ago

Thanks for the PR :+1: it's ok for the tests. So how do you use katon with ngrok?

jsierles commented 9 years ago

After installing ngrok and registering to allow creating custom subdomains, you can simply do:

% ngrok -subdomain myapp 80

Then 'myapp.ngrok.io' will route to your app!