diff --git a/app/views/json/package.json.jbuilder b/app/views/json/package.json.jbuilder index 2632999..d340d37 100644 --- a/app/views/json/package.json.jbuilder +++ b/app/views/json/package.json.jbuilder @@ -11,8 +11,8 @@ json.screenshots @p.approved_screenshots do |s| @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.large_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path( + # @p, s.id + # )}" json.version s.version end diff --git a/app/views/json/screenshots.json.jbuilder b/app/views/json/screenshots.json.jbuilder index 929ab7b..b8cec9c 100644 --- a/app/views/json/screenshots.json.jbuilder +++ b/app/views/json/screenshots.json.jbuilder @@ -13,5 +13,9 @@ json.cache! ['json_screenshots'], expires_in: 1.hour do json.screenshot_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path( p, s.id )}" + # for the UDD + json.large_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path( + p, s.id + )}" end end