mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Update options for videoplayback preflight
This commit is contained in:
parent
e0dd56f4ff
commit
e9e6bbd710
1 changed files with 1 additions and 1 deletions
|
@ -973,7 +973,7 @@ get "/channel/:ucid" do |env|
|
|||
templated "channel"
|
||||
end
|
||||
|
||||
options "/videoplayback" do |env|
|
||||
options "/videoplayback*" do |env|
|
||||
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
||||
env.response.headers["Access-Control-Allow-Methods"] = "GET"
|
||||
env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range"
|
||||
|
|
Loading…
Reference in a new issue