Added fix related to pyngrok 4.* updates

This commit is contained in:
sTiKyt 2020-06-11 12:58:14 +03:00
parent 6ee727d283
commit 79d2365a2b
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4

View File

@ -113,7 +113,10 @@ def start_localhost(port):
def start_ngrok(port): def start_ngrok(port):
ngrok.DEFAULT_CONFIG_PATH = ".config/ngrok.yml" #ngrok.DEFAULT_CONFIG_PATH = ".config/ngrok.yml"
# ngrok_conf.DEFAULT_NGROK_CONFIG_PATH = ".config/ngrok.yml" # Prabably way to go, but i'm not sure yet...
ngrok_conf.PyngrokConfig(config_path=".config/ngrok.yml")
run_command(['killall', '-2', 'ngrok'], stdout=DEVNULL, stderr=DEVNULL) run_command(['killall', '-2', 'ngrok'], stdout=DEVNULL, stderr=DEVNULL)
run_command('clear') run_command('clear')