]> _ Git - odl.git/commitdiff
wip #5005
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 6 Jan 2022 19:07:00 +0000 (20:07 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 6 Jan 2022 19:07:00 +0000 (20:07 +0100)
app/Jobs/ProducePackage.php

index bf7c092082b478db22e7d549893cb85cb2a606ba..c902ef417d688c263cd12d6ef1ec18ba993cb0fc 100644 (file)
@@ -75,15 +75,17 @@ 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/',
+            '../storage/'=>'./storage/',
         ];
         return str_replace(array_keys($replace), array_values($replace), $html);
     }