From 54e1b80c6a5a51130737078d404806ab5dc80791 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 6 Jan 2022 20:04:01 +0100 Subject: [PATCH] wip #5005 @0.25 --- app/Jobs/ProducePackage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.39.5