mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-12 00:53:59 +02:00
Compare commits
1 Commits
SamantazFo
...
SamantazFo
Author | SHA1 | Date | |
---|---|---|---|
|
b0c9f87fbe |
@@ -32,7 +32,7 @@ module Invidious::Frontend::WatchPage
|
||||
return String.build(4000) do |str|
|
||||
str << "<form"
|
||||
str << " class=\"pure-form pure-form-stacked\""
|
||||
str << " action='" << URI.encode_www_form(url) << "'"
|
||||
str << " action='#{url}'"
|
||||
str << " method='post'"
|
||||
str << " rel='noopener'"
|
||||
str << " target='_blank'>"
|
||||
|
@@ -20,7 +20,7 @@ module Invidious::Routes::Embed
|
||||
return error_template(500, ex)
|
||||
end
|
||||
|
||||
url = "/embed/#{first_playlist_video}?#{env.params.query}"
|
||||
url = "/embed/#{first_playlist_video.id}?#{env.params.query}"
|
||||
|
||||
if env.params.query.size > 0
|
||||
url += "?#{env.params.query}"
|
||||
|
Reference in New Issue
Block a user