forked from midou/invidious
Add CORS header for videoplayback
This commit is contained in:
parent
9898b2900f
commit
11e871ba83
@ -825,6 +825,8 @@ get "/videoplayback" do |env|
|
|||||||
env.response.headers[key] = value
|
env.response.headers[key] = value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
env.response.headers["Access-Control-Allow-Origin"] = "*"
|
||||||
|
|
||||||
chunk = Bytes[8]
|
chunk = Bytes[8]
|
||||||
|
|
||||||
loop do
|
loop do
|
||||||
|
Loading…
Reference in New Issue
Block a user