diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-03-11 13:32:46 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-03-11 13:32:46 -0500 |
| commit | 58f4212aa853306ade1b34197f12f532135a48d4 (patch) | |
| tree | aff26380c04cf607eec187a430e42da601bebcf0 /src | |
| parent | f01152eda1986c901886f81f98cfb5e9cb7bc48b (diff) | |
| download | invidious-58f4212aa853306ade1b34197f12f532135a48d4.tar.gz invidious-58f4212aa853306ade1b34197f12f532135a48d4.tar.bz2 invidious-58f4212aa853306ade1b34197f12f532135a48d4.zip | |
Remove 'host' from query params
Diffstat (limited to 'src')
| -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 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 |
