gstaff / flask-ngrok

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

Bug: Default ngrok file not to be found in tmp directory #26

Open iamu985 opened 2 years ago

iamu985 commented 2 years ago

My flask app did not output ngrok url instead it ran in my local server. The reason was because the code by default searched in the tmp directory for ngrok executable. But in my case it was located in usr/bin/. It would be nice to get a proper file locating function for recent ngrok versions.

Line 31: ngrok_path = str(Path(tempfile.gettempdir(), "ngrok"))