apply ameba correction

This commit is contained in:
Fijxu 2026-02-27 02:09:20 -03:00
parent 0fcf532f70
commit f00668e1a2
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4

View File

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