Add icons at 144x144
For some reason Chromium requires an icon at this size, however the error in Lighthouse states that the size must be *at least* 144x144 but in fact must be exactly this size.
This commit is contained in:
parent
b9269f0693
commit
3f41d339de
|
@ -37,7 +37,7 @@ class ManifestsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def webapp_icons
|
def webapp_icons
|
||||||
%i[1024 512 384 192 128 96 72 48].map do |size|
|
%i[1024 512 384 192 144 128 96 72 48].map do |size|
|
||||||
[
|
[
|
||||||
{ src: "/icons/icon_x#{size}.webp", sizes: "#{size}x#{size}", type: "image/webp", purpose: "any" },
|
{ src: "/icons/icon_x#{size}.webp", sizes: "#{size}x#{size}", type: "image/webp", purpose: "any" },
|
||||||
{ src: "/icons/icon_x#{size}.png", sizes: "#{size}x#{size}", type: "image/png", purpose: "any" },
|
{ src: "/icons/icon_x#{size}.png", sizes: "#{size}x#{size}", type: "image/png", purpose: "any" },
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
Loading…
Reference in New Issue