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"))
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"))