mirror of
https://github.com/iv-org/invidious.git
synced 2026-03-10 21:08:29 -05:00
apply ameba correction
This commit is contained in:
parent
0fcf532f70
commit
f00668e1a2
@ -199,7 +199,7 @@ def error_redirect_helper(env : HTTP::Server::Context)
|
|||||||
if video_id.presence
|
if video_id.presence
|
||||||
params.delete("v")
|
params.delete("v")
|
||||||
if params.present?
|
if params.present?
|
||||||
embed_link = "https://youtube.com/embed/#{video_id}?#{params.to_s}"
|
embed_link = "https://youtube.com/embed/#{video_id}?#{params}"
|
||||||
else
|
else
|
||||||
embed_link = "https://youtube.com/embed/#{video_id}"
|
embed_link = "https://youtube.com/embed/#{video_id}"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user