diff --git a/app/Livewire/PostFeature.php b/app/Livewire/PostFeature.php index b3f1cbe..c426e06 100644 --- a/app/Livewire/PostFeature.php +++ b/app/Livewire/PostFeature.php @@ -36,8 +36,9 @@ HTML; { if ($this->post == null) { - $href = route('posts.home'); - return view('livewire.post-feature-empty'); + return <<<'HTML' +
+HTML; } return view('livewire.post-feature'); } diff --git a/config/image.php b/config/image.php index 6f5096f..f13ce7f 100644 --- a/config/image.php +++ b/config/image.php @@ -16,7 +16,7 @@ return [ | */ - 'driver' => \Intervention\Image\Drivers\Gd\Driver::class, + 'driver' => \Intervention\Image\Drivers\Imagick\Driver::class, /* |-------------------------------------------------------------------------- diff --git a/deploy/php.ini b/deploy/php.ini index 000fd18..0147b64 100644 --- a/deploy/php.ini +++ b/deploy/php.ini @@ -1,4 +1,4 @@ upload_max_filesize = 100M post_max_size = 128M -memory_limit = 2G +memory_limit = 1G max_execution_time = 120 diff --git a/resources/views/livewire/post-feature-empty.blade.php b/resources/views/livewire/post-feature-empty.blade.php deleted file mode 100644 index 5f5e782..0000000 --- a/resources/views/livewire/post-feature-empty.blade.php +++ /dev/null @@ -1,5 +0,0 @@ - -Mark a post as featured to have it appear here!
-