]> _ Git - psq.git/commitdiff
Update PdfFile.php
authorLouis Jeckel <louis.jeckel@outlook.cm>
Thu, 27 Aug 2020 17:02:13 +0000 (19:02 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Thu, 27 Aug 2020 17:02:13 +0000 (19:02 +0200)
app/PdfFile.php

index 942252885b9d8836f8c73d35bfa8278177f3e087..bf81529b33d9963d4c5bf01a2303670e3818fbc8 100644 (file)
@@ -128,10 +128,8 @@ class PdfFile extends TwillModel implements Sortable
 
         $this->makeJson();
         $this->makeCover();
-        if(!config('app.env') === 'local'){
-            $this->shortenLinks();
-            $this->makeSearchable();
-        }
+        $this->shortenLinks();
+        $this->makeSearchable();
         $this->saveToCloud();
 
     }