re-add large_image_url attribute that the UDD expects

This commit is contained in:
Christoph Haas 2026-02-26 01:03:54 +01:00
parent 0669198233
commit 8e95e4f9fd

View file

@ -10,5 +10,9 @@ json.screenshots @p.approved_screenshots do |s|
json.screenshot_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path( json.screenshot_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path(
@p, s.id @p, s.id
)}" )}"
# backwards-compatibility for the UDD
json.large_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path(
@p, s.id
)}"
json.version s.version json.version s.version
end end