Browse Source

manifest to report correct favicon size

In the environment where php-imagick with SVG support is correctly installed, this endpoint returns 512x512 image.
d9015a8c94/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>
tags/v21.0.0beta1
nhirokinet 3 years ago
parent
commit
3a05334f18
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/theming/lib/Controller/ThemingController.php

+ 1
- 1
apps/theming/lib/Controller/ThemingController.php View File

@@ -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',

Loading…
Cancel
Save