From 61e2c271515e808e6c8db1bd378f3746ded35599 Mon Sep 17 00:00:00 2001 From: pluja Date: Sun, 20 Sep 2020 12:03:05 +0200 Subject: [PATCH] Fix typo --- app/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes.py b/app/routes.py index 8b76012..26f6da6 100644 --- a/app/routes.py +++ b/app/routes.py @@ -308,12 +308,12 @@ def watch(): # Use nginx try: - url = info['video']['url'].replace("https://{}".format(hostName), "")+"?host="+hostName + url = info['video']['url'].replace("https://{}".format(hostName), "")+"&host="+hostName except: url = "#" try: - audioUrl = info['video']['audio']['url'].replace("https://{}".format(audioHostName), "")+"?host="+audioHostName + audioUrl = info['video']['audio']['url'].replace("https://{}".format(audioHostName), "")+"&host="+audioHostName print(audioUrl) except: audioUrl = False