From 7ecf8f1f0e42c19ad586f47ac0d9eb73f779a8e7 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Sat, 22 Aug 2020 18:43:12 +0000 Subject: [PATCH] Added ngrok_url getter --- controllers/ngrok_controller.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/controllers/ngrok_controller.py b/controllers/ngrok_controller.py index b9d1e1f..79d00dc 100644 --- a/controllers/ngrok_controller.py +++ b/controllers/ngrok_controller.py @@ -32,4 +32,8 @@ class NgrokController: self._model.connect(port=port, name='HiddenEye Connection', pyngrok_config=self._config_path) def obtain_tunnels(self): - self._tunnels = self._model.get_tunnels() \ No newline at end of file + self._tunnels = self._model.get_tunnels() + + @property + def ngrok_url(self): + return self._ngrok_url \ No newline at end of file