diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-06-06 21:46:57 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-06-06 21:46:57 -0500 |
| commit | e9e6bbd710011460962ce7d87ce66fbe63df3f64 (patch) | |
| tree | 8e2679e6cb85bd8ef2f7775ee14929eb0e048324 | |
| parent | e0dd56f4ff72d18e67cf082b9ddc719b92d30ac2 (diff) | |
| download | invidious-e9e6bbd710011460962ce7d87ce66fbe63df3f64.tar.gz invidious-e9e6bbd710011460962ce7d87ce66fbe63df3f64.tar.bz2 invidious-e9e6bbd710011460962ce7d87ce66fbe63df3f64.zip | |
Update options for videoplayback preflight
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index d3e8a4ac..d3c563c8 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -973,7 +973,7 @@ get "/channel/:ucid" do |env| templated "channel" end -options "/videoplayback" do |env| +options "/videoplayback*" do |env| env.response.headers["Access-Control-Allow-Origin"] = "*" env.response.headers["Access-Control-Allow-Methods"] = "GET" env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range" |
