mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-31 14:11:54 +05:30
Add CORS header for videoplayback
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user