From 01983446dcb38b12fc48be9d98e3c19a7ca3a2e8 Mon Sep 17 00:00:00 2001 From: Gabriel Simoes Date: Thu, 15 Apr 2021 12:14:28 -0500 Subject: [PATCH] remove /pub from icons URLs --- src/Controller/AppIcon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/AppIcon.php b/src/Controller/AppIcon.php index 0040a3d..bb66315 100644 --- a/src/Controller/AppIcon.php +++ b/src/Controller/AppIcon.php @@ -146,7 +146,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 = '/media/' . self::STORAGE_PATH . $name . '.png'; $output[$type][$size] = [ 'href' => $href, 'sizes' => $size