Skip to content

Commit 41eec93

Browse files
authored
Merge pull request #13 from zans-laksa/lighthouse-fixes
2 parents 694cf58 + 9771036 commit 41eec93

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Controller/AppIcon.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function getIconLinks ()
130130
$height = is_array($size) ? $size[1] : $size;
131131
$size = $width . 'x' . $height;
132132
$name = 'icon_' . $config['type'] . '_' . $width . 'x' . $height;
133-
$href = 'pub/media/' . self::STORAGE_PATH . $name . '.png';
133+
$href = '/pub/media/' . self::STORAGE_PATH . $name . '.png';
134134
$output[$type][$size] = [
135135
'href' => $href,
136136
'sizes' => $size

src/etc/config.xml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<start_url>/</start_url>
4141
<display>standalone</display>
4242
<orientation>portrait</orientation>
43+
<scope>/</scope>
4344
</webmanifest>
4445
</webmanifest_customization>
4546
</default>

0 commit comments

Comments
 (0)