Skip to content

Commit

Permalink
Merge pull request #13 from zans-laksa/lighthouse-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ejnshtein authored Mar 8, 2021
2 parents 694cf58 + 9771036 commit 41eec93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/AppIcon.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function getIconLinks ()
$height = is_array($size) ? $size[1] : $size;
$size = $width . 'x' . $height;
$name = 'icon_' . $config['type'] . '_' . $width . 'x' . $height;
$href = 'pub/media/' . self::STORAGE_PATH . $name . '.png';
$href = '/pub/media/' . self::STORAGE_PATH . $name . '.png';
$output[$type][$size] = [
'href' => $href,
'sizes' => $size
Expand Down
1 change: 1 addition & 0 deletions src/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<start_url>/</start_url>
<display>standalone</display>
<orientation>portrait</orientation>
<scope>/</scope>
</webmanifest>
</webmanifest_customization>
</default>
Expand Down

0 comments on commit 41eec93

Please sign in to comment.