mirror of
https://github.com/iv-org/invidious.git
synced 2026-10-24 22:09:13 -05:00
fix: remove check
This commit is contained in:
parent
e4fb6783a1
commit
a316aa6c3d
@ -154,12 +154,6 @@ module Invidious::Routes::Images
|
||||
|
||||
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
||||
|
||||
if response.status_code >= 300
|
||||
env.response.headers.delete("Content-Length")
|
||||
env.response.headers.delete("Transfer-Encoding")
|
||||
return
|
||||
end
|
||||
|
||||
return Helpers.proxy_file(response, env)
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user