bogdanovich / ngrok-tunnel

Ngrok-tunnel gem is a simple ruby wrapper for ngrok http://ngrok.com
MIT License
85 stars 50 forks source link

why puma.rb? #18

Open leastbad opened 3 years ago

leastbad commented 3 years ago

I love ngrok-tunnel. Thank you so much for making it.

Following @tinbka's advice in https://github.com/bogdanovich/ngrok-tunnel/blob/master/examples/rack-server.rb I have it setup in my puma.rb.

This issue is to ask "why" you folks specifically recommend putting it in the webserver config files, and not standard initializers? My gut tells me that you had a specific reason or gotcha, and it would potentially save many headaches if you were able to remember the factors behind your decisions.