|
|
@ -263,8 +263,7 @@ module Invidious::Routes::Images
|
|
|
|
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
|
|
|
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
|
|
|
|
|
|
|
|
|
|
|
if response.status_code >= 300 && response.status_code != 404
|
|
|
|
if response.status_code >= 300 && response.status_code != 404
|
|
|
|
env.response.headers.delete("Transfer-Encoding")
|
|
|
|
return env.response.headers.delete("Transfer-Encoding")
|
|
|
|
return
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
proxy_file(response, env)
|
|
|
|
proxy_file(response, env)
|
|
|
|