mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Add CORS header for videoplayback
This commit is contained in:
parent
9898b2900f
commit
11e871ba83
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue