Fix web app icon sizes property name
This commit is contained in:
parent
27318f302c
commit
73082975c4
|
@ -39,8 +39,8 @@ class ManifestsController < ApplicationController
|
||||||
def webapp_icons
|
def webapp_icons
|
||||||
%i[1024 512 384 192 128 96 72 48].map do |size|
|
%i[1024 512 384 192 128 96 72 48].map do |size|
|
||||||
[
|
[
|
||||||
{ src: "/icons/icon_x#{size}.webp", size: "#{size}x#{size}", type: "image/webp" },
|
{ src: "/icons/icon_x#{size}.webp", sizes: "#{size}x#{size}", type: "image/webp" },
|
||||||
{ src: "/icons/icon_x#{size}.png", size: "#{size}x#{size}", type: "image/png" }
|
{ src: "/icons/icon_x#{size}.png", sizes: "#{size}x#{size}", type: "image/png" }
|
||||||
]
|
]
|
||||||
end.flatten
|
end.flatten
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue