From fd609ee7e53f6da19270f6dd8cbc3ffa03fc7e3e Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 16 Apr 2018 20:49:00 -0500 Subject: [PATCH] Allow range in videoplayback headers --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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|