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

index d98a0f7f50c8ae0dd1122bba9554a8ce4b7fb712..bf7c092082b478db22e7d549893cb85cb2a606ba 100644 (file)
@@ -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);
     }