Allow range in videoplayback headers

pull/3/head
Omar Roth 7 years ago
parent 4cfddcfb42
commit fd609ee7e5

@ -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…
Cancel
Save