Update options for videoplayback preflight

This commit is contained in:
Omar Roth 2018-06-06 21:46:57 -05:00
parent e0dd56f4ff
commit e9e6bbd710

View File

@ -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"