From 5df2baf787bb283732dc090b3439bde4b9d97fcf Mon Sep 17 00:00:00 2001 From: Zohaib Rauf Date: Sun, 11 Feb 2024 05:15:41 -0800 Subject: [PATCH] Removed domain from ngrok --- OS/01/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OS/01/server.py b/OS/01/server.py index d891b65..6b07877 100644 --- a/OS/01/server.py +++ b/OS/01/server.py @@ -238,7 +238,7 @@ async def stream_or_play_tts(sentence): async def setup_ngrok(ngrok_auth_token, parsed_url): # Set up Ngrok logger.info("Setting up Ngrok") - ngrok_listener = await ngrok.forward(f"{parsed_url.hostname}:{parsed_url.port}", authtoken=ngrok_auth_token, domain="project01.ngrok.dev") + ngrok_listener = await ngrok.forward(f"{parsed_url.hostname}:{parsed_url.port}", authtoken=ngrok_auth_token) ngrok_parsed_url = urllib.parse.urlparse(ngrok_listener.url()) # Setup SERVER_URL environment variable for device to use