mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
image processor added
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Contracts\Filesystem\Filesystem;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use League\Glide\Responses\LaravelResponseFactory;
|
||||
use League\Glide\ServerFactory;
|
||||
@@ -28,6 +27,6 @@ class ImageController extends Controller
|
||||
'base_url' => 'img',
|
||||
]);
|
||||
|
||||
return $server->getImageResponse($path, request()->all());
|
||||
return $server->getImageResponse('/'. $path, request()->all());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user