print upstream nextcloud

This commit is contained in:
Roy Olav Purser 2021-05-25 10:53:45 +02:00
parent 783f13abf8
commit d4d786041d
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -376,6 +376,7 @@ class MainHandler(tornado.web.RequestHandler):
upstream = None upstream = None
if handler.provider == "nextcloud": if handler.provider == "nextcloud":
upstream = urllib.parse.urljoin(handler.upstream, "download") upstream = urllib.parse.urljoin(handler.upstream, "download")
logger.info(upstream)
else: else:
upstream = await stream_providers.get_any(handler.upstream, handler.proxy, logger) upstream = await stream_providers.get_any(handler.upstream, handler.proxy, logger)
if upstream is None: if upstream is None: