mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:25:56 -04:00
Fix typo in '/watch'
This commit is contained in:
parent
8cecce7570
commit
4e111c84f3
@ -474,8 +474,6 @@ get "/watch" do |env|
|
|||||||
url = audio_streams[0]["url"]
|
url = audio_streams[0]["url"]
|
||||||
|
|
||||||
audio_streams.each do |fmt|
|
audio_streams.each do |fmt|
|
||||||
pp fmt["bitrate"]
|
|
||||||
pp params.quality.rchop("k")
|
|
||||||
if fmt["bitrate"] == params.quality.rchop("k")
|
if fmt["bitrate"] == params.quality.rchop("k")
|
||||||
url = fmt["url"]
|
url = fmt["url"]
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user