From: Louis Jeckel Date: Thu, 27 Aug 2020 17:02:13 +0000 (+0200) Subject: Update PdfFile.php X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d8aec94f59c4ac0503dd869e176524f55b3de6a3;p=psq.git Update PdfFile.php --- diff --git a/app/PdfFile.php b/app/PdfFile.php index 9422528..bf81529 100644 --- a/app/PdfFile.php +++ b/app/PdfFile.php @@ -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(); }