From 58f4212aa853306ade1b34197f12f532135a48d4 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 11 Mar 2019 13:32:46 -0500 Subject: [PATCH] Remove 'host' from query params --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index ff17ab9b..fa6a4090 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -4218,8 +4218,8 @@ get "/videoplayback" do |env| query_params = env.params.query if query_params["host"]? && !query_params["host"].empty? - pp query_params["host"] host = "https://#{query_params["host"]}" + query_params.delete("host") else fvip = query_params["fvip"]? || "3" mn = query_params["mn"].split(",").pop