mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix copy-paste error
This commit is contained in:
parent
83556bace2
commit
48191aca6e
1 changed files with 1 additions and 2 deletions
|
@ -263,8 +263,7 @@ module Invidious::Routes::Images
|
|||
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
||||
|
||||
if response.status_code >= 300 && response.status_code != 404
|
||||
env.response.headers.delete("Transfer-Encoding")
|
||||
return
|
||||
return env.response.headers.delete("Transfer-Encoding")
|
||||
end
|
||||
|
||||
proxy_file(response, env)
|
||||
|
|
Loading…
Reference in a new issue