Skip to content

Commit

Permalink
Chore: upgrade glide
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed Jan 7, 2024
1 parent ebdd9a4 commit f3da97d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 57 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"require": {
"php": "^8.1",
"intervention/image": "^2.7",
"league/glide-laravel": "^1.0",
"league/glide-symfony": "^2.0",
"spatie/laravel-package-tools": "^1.13.5"
},
"require-dev": {
Expand Down
62 changes: 8 additions & 54 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Glide/DefaultServerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Awcodes\Curator\Glide;

use League\Glide\Responses\LaravelResponseFactory;
use League\Glide\Responses\SymfonyResponseFactory;
use League\Glide\Server;
use League\Glide\ServerFactory;

Expand All @@ -12,7 +12,7 @@ public function getFactory(): ServerFactory | Server
{
return ServerFactory::create([
'driver' => 'gd',
'response' => new LaravelResponseFactory(app('request')),
'response' => new SymfonyResponseFactory(app('request')),
'source' => storage_path('app'),
'source_path_prefix' => 'public',
'cache' => storage_path('app'),
Expand Down

0 comments on commit f3da97d

Please sign in to comment.