await rewrite
This commit is contained in:
parent
f7f478415c
commit
305c622c76
@ -346,7 +346,7 @@ class MainHandler(tornado.web.RequestHandler):
|
||||
logger.info(upstream)
|
||||
data = None
|
||||
if "mpegurl" in ctype.lower():
|
||||
data = rewrite(upstream, proxy)
|
||||
data = await rewrite(upstream, proxy)
|
||||
self.set_header("Content-Type", "application/vnd.apple.mpegurl")
|
||||
self.write(data)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user