mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-04 22:51:58 +00:00
Clarify listen param and update icon
This commit is contained in:
@@ -147,9 +147,13 @@ end
|
||||
|
||||
get "/watch" do |env|
|
||||
id = env.params.query["v"]
|
||||
listen = env.params.query["listen"]? || "false"
|
||||
|
||||
if env.params.query["listen"]? && env.params.query["listen"] == "true"
|
||||
listen = true
|
||||
env.params.query.delete_all("listen")
|
||||
else
|
||||
listen = false
|
||||
end
|
||||
|
||||
client = get_client(pool)
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user