]> _ Git - odl.git/commitdiff
wip #5181 @0.25
authorvincent <vincent@enhydra.fr>
Sat, 26 Mar 2022 12:38:52 +0000 (13:38 +0100)
committervincent <vincent@enhydra.fr>
Sat, 26 Mar 2022 12:38:52 +0000 (13:38 +0100)
app/Jobs/SearchIndex.php

index 995a6ab324b14dc8bd4acbc70ec51af76ffd0c46..3f71a8a792d7ed5d29cd4f723a00005061566057 100644 (file)
@@ -93,6 +93,6 @@ class SearchIndex extends Index
     {
         // Get the relative URL by taking from /storage/ onwards
         // We assume that assets are always going to be in the storage folder
-        return strstr($URL, '/storage/');
+        return '.' . strstr($URL, '/storage/');
     }
 }