mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2025-06-05 23:29:12 +02:00
Add CORS header for videoplayback
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user