gstaff / flask-ngrok

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

Add a hostname feature to the app #13

Open ali-meesam23 opened 4 years ago

ali-meesam23 commented 4 years ago

run_with_ngrok(app**, hostname="mydomain.ngrok.io"**)

webclinic017 commented 4 years ago

I second this request, please add options for hostname or even a separate port, other than default 5000, I tried changing port at app.run(host port), its giving a error

snehsagarajput commented 3 years ago

flask-ngrok library only provides randomly generated url/host.