From 195ae5c48833d5ddd02c57e8c81c31c5bc8f4e86 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 7 Nov 2021 11:35:47 +0100 Subject: [PATCH] Create application ngrok tunnel method moved to utils --- platypush/{common/ngrok/__init__.py => utils/ngrok.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename platypush/{common/ngrok/__init__.py => utils/ngrok.py} (96%) diff --git a/platypush/common/ngrok/__init__.py b/platypush/utils/ngrok.py similarity index 96% rename from platypush/common/ngrok/__init__.py rename to platypush/utils/ngrok.py index ed885e7490..ca78fe69bc 100644 --- a/platypush/common/ngrok/__init__.py +++ b/platypush/utils/ngrok.py @@ -17,7 +17,7 @@ def _get_http_port() -> int: return http.port -def create_ngrok_tunnel() -> str: +def get_or_create_ngrok_tunnel() -> str: """ This method creates an ngrok tunnel for the local web application, useful to register public HTTPS callback URLs on the fly from plugins