mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Allow range in videoplayback headers
This commit is contained in:
parent
4cfddcfb42
commit
fd609ee7e5
1 changed files with 1 additions and 1 deletions
|
@ -846,7 +846,7 @@ end
|
||||||
options "/videoplayback" do |env|
|
options "/videoplayback" do |env|
|
||||||
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
||||||
env.response.headers["Access-Control-Allow-Methods"] = "GET"
|
env.response.headers["Access-Control-Allow-Methods"] = "GET"
|
||||||
env.response.headers["Access-Control-Allow-Headers"] = "Content-Type"
|
env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range"
|
||||||
end
|
end
|
||||||
|
|
||||||
error 404 do |env|
|
error 404 do |env|
|
||||||
|
|
Loading…
Reference in a new issue