From d8aec94f59c4ac0503dd869e176524f55b3de6a3 Mon Sep 17 00:00:00 2001 From: Louis Jeckel Date: Thu, 27 Aug 2020 19:02:13 +0200 Subject: [PATCH] Update PdfFile.php --- app/PdfFile.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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(); } -- 2.39.5