gstaff / flask-ngrok

A simple way to demo Flask apps from your machine.
Other
138 stars 58 forks source link

Allow custom subdomains/whitelabels as config parameters #12

Open MuqadderIqbal opened 4 years ago

MuqadderIqbal commented 4 years ago

Randomly generated public URLs are annoying even when prototyping something. Can you add support for persisted/custom subdomains to get around this issue? Note: custom subdomains or persisted URLs need a paid plan for ngrok. More here: https://ngrok.com/docs

ali-meesam23 commented 3 years ago

I have purchased the plan but i am not sure how to set it up on this library. Any ideas? I can run ngrok using ngrok http -hostname <myurl.ngrok.io> 80 but when i run flask-ngrok library. it still generates custom url. How do i configure this?

xdevfaheem commented 1 year ago

I have purchased the plan but i am not sure how to set it up on this library. Any ideas? I can run ngrok using ngrok http -hostname <myurl.ngrok.io> 80 but when i run flask-ngrok library. it still generates custom url. How do i configure this?

clone the repo and change the line of the code which executes the ngrok http $port command