Remove 'host' from query params

pull/411/head
Omar Roth 2019-03-11 13:32:46 -05:00
rodzic f01152eda1
commit 58f4212aa8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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