summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-04-16 20:49:00 -0500
committerOmar Roth <omarroth@hotmail.com>2018-04-16 20:49:00 -0500
commitfd609ee7e53f6da19270f6dd8cbc3ffa03fc7e3e (patch)
tree86dafef54f4b61228d2cc18ecda137f149d6a32f /src
parent4cfddcfb42444754978220bdeb453788d5d719e1 (diff)
downloadinvidious-fd609ee7e53f6da19270f6dd8cbc3ffa03fc7e3e.tar.gz
invidious-fd609ee7e53f6da19270f6dd8cbc3ffa03fc7e3e.tar.bz2
invidious-fd609ee7e53f6da19270f6dd8cbc3ffa03fc7e3e.zip
Allow range in videoplayback headers
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index a2ff9ddc..eb764d3c 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -846,7 +846,7 @@ end
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"
+ env.response.headers["Access-Control-Allow-Headers"] = "Content-Type, range"
end
error 404 do |env|