diff options
author | Jesús <heckyel@hyperbola.info> | 2021-08-29 18:48:01 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-29 18:48:01 -0500 |
commit | e4af99fd178c39b584001fa1b7d6d62d88bc7a60 (patch) | |
tree | f1f746c0087c9139d998e76084067744fd5ce3ca /server.py | |
parent | d56df02e7b1eba86baf511289208295b1f6c5a50 (diff) | |
download | yt-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.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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, |