1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-02-25 20:29:48 +05:30

Add CORS header for videoplayback

This commit is contained in:
Omar Roth 2018-04-16 19:31:57 -05:00
parent 9898b2900f
commit 11e871ba83

@ -825,6 +825,8 @@ get "/videoplayback" do |env|
env.response.headers[key] = value
end
env.response.headers["Access-Control-Allow-Origin"] = "*"
chunk = Bytes[8]
loop do