aboutsummaryrefslogtreecommitdiffstats
path: root/server.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-29 18:48:01 -0500
committerJesús <heckyel@hyperbola.info>2021-08-29 18:48:01 -0500
commite4af99fd178c39b584001fa1b7d6d62d88bc7a60 (patch)
treef1f746c0087c9139d998e76084067744fd5ce3ca /server.py
parentd56df02e7b1eba86baf511289208295b1f6c5a50 (diff)
downloadyt-local-e4af99fd178c39b584001fa1b7d6d62d88bc7a60.tar.lz
yt-local-e4af99fd178c39b584001fa1b7d6d62d88bc7a60.tar.xz
yt-local-e4af99fd178c39b584001fa1b7d6d62d88bc7a60.zip
Revert "Add support for more qualities, merging video+audio using MSE"
This reverts commit d56df02e7b1eba86baf511289208295b1f6c5a50.
Diffstat (limited to 'server.py')
-rw-r--r--server.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/server.py b/server.py
index c038d6d..ebe67dc 100644
--- a/server.py
+++ b/server.py
@@ -87,9 +87,6 @@ def proxy_site(env, start_response, video=False):
response_headers = response.getheaders()
if isinstance(response_headers, urllib3._collections.HTTPHeaderDict):
response_headers = response_headers.items()
- if video:
- response_headers = (list(response_headers)
- +[('Access-Control-Allow-Origin', '*')])
if first_attempt:
start_response(str(response.status) + ' ' + response.reason,