From 79397ac3ddb9662134e90e27a1efe21aae1b33d5 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 6 Jan 2022 19:26:03 +0100 Subject: [PATCH] wip #5005 @1 --- app/Jobs/ProducePackage.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/Jobs/ProducePackage.php b/app/Jobs/ProducePackage.php index b1d230f..d98a0f7 100644 --- a/app/Jobs/ProducePackage.php +++ b/app/Jobs/ProducePackage.php @@ -77,16 +77,15 @@ class ProducePackage implements ShouldQueue, ShouldBeUnique { $replace = [ 'https://odl.paris.cubedesigners.com/front/' => './', 'https://cube.odile.space/front/' => './', + 'https://odl.paris.cubedesigners.com/storage/' => './storage/', + 'https://cube.odile.space/storage/' => './storage/', 'https://odl.paris.cubedesigners.com/' => './', 'https://cube.odile.space/' => './', '/front/' => './', '\/storage' => '.\/storage', '/storage/' => './storage/', ]; - $html = str_replace(array_keys($replace), array_values($replace), $html); - - - return $html; + return str_replace(array_keys($replace), array_values($replace), $html); } -- 2.39.5