mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-07 03:04:12 +00:00
Update options for videoplayback preflight
This commit is contained in:
@@ -973,7 +973,7 @@ get "/channel/:ucid" do |env|
|
|||||||
templated "channel"
|
templated "channel"
|
||||||
end
|
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, range"
|
env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range"
|
||||||
|
Reference in New Issue
Block a user