From: Vincent Vanwaelscappel Date: Thu, 6 Jan 2022 19:04:01 +0000 (+0100) Subject: wip #5005 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=54e1b80c6a5a51130737078d404806ab5dc80791;p=odl.git wip #5005 @0.25 --- diff --git a/app/Jobs/ProducePackage.php b/app/Jobs/ProducePackage.php index d98a0f7..bf7c092 100644 --- a/app/Jobs/ProducePackage.php +++ b/app/Jobs/ProducePackage.php @@ -75,15 +75,15 @@ class ProducePackage implements ShouldQueue, ShouldBeUnique { // $replace = [ + '/front/' => './', + '\/storage' => '.\/storage', + '/storage/' => './storage/', '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/', ]; return str_replace(array_keys($replace), array_values($replace), $html); }