diff options
author | nhirokinet <nhirokinet@nhiroki.net> | 2020-10-16 17:59:43 +0300 |
---|---|---|
committer | nhirokinet <nhirokinet@nhiroki.net> | 2020-10-16 18:36:56 +0300 |
commit | 3a05334f188e81d5012262602e4198843029e01a (patch) | |
tree | f1b922dda87329dd9a8a7277d239f93e797b0eed /apps/theming/lib | |
parent | 09501e1710872362d04cffae5274efc184bf7ff1 (diff) |
manifest to report correct favicon size
In the environment where php-imagick with SVG support is correctly installed, this endpoint returns 512x512 image.
https://github.com/nextcloud/server/blob/d9015a8c94bfd71fe484618a06d276701d3bf9ff/apps/theming/lib/Controller/IconController.php#L146
The problem is in the environment without php-imagick or without SVG support, this will fall back to original, whose default is 128x128; but I thought this is a separate problem. (For this, default image may be enlarged. Should I create another issue if this is important one?)
Signed-off-by: nhirokinet <nhirokinet@nhiroki.net>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r-- | apps/theming/lib/Controller/ThemingController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 8957d305883..692a0f6234e 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -383,7 +383,7 @@ class ThemingController extends Controller { 'src' => $this->urlGenerator->linkToRoute('theming.Icon.getTouchIcon', ['app' => $app]) . '?v=' . $cacheBusterValue, 'type' => 'image/png', - 'sizes' => '128x128' + 'sizes' => '512x512' ], [ 'src' => $this->urlGenerator->linkToRoute('theming.Icon.getFavicon', |