Merge b0c9f87fbea9a527b1e96774de97dc366e76df12 into 1ae0f45b0e5dca696986925a06ef4f4b4f43894b

This commit is contained in:
Samantaz Fox 2025-08-13 20:27:31 +02:00 committed by GitHub
commit d33e2a8574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ module Invidious::Routes::Embed
return error_template(500, ex) return error_template(500, ex)
end end
url = "/embed/#{first_playlist_video}?#{env.params.query}" url = "/embed/#{first_playlist_video.id}?#{env.params.query}"
if env.params.query.size > 0 if env.params.query.size > 0
url += "?#{env.params.query}" url += "?#{env.params.query}"