Allow range in videoplayback headers

This commit is contained in:
Omar Roth 2018-04-16 20:49:00 -05:00
parent 4cfddcfb42
commit fd609ee7e5

View file

@ -846,7 +846,7 @@ end
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"
env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range"
end
error 404 do |env|