mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
'img/einundzwanzig.png'
This commit is contained in:
@@ -29,7 +29,10 @@ class ImageController extends Controller
|
||||
'base_url' => $request->route()
|
||||
->getName() === 'imgPublic' ? '' : 'img',
|
||||
]);
|
||||
|
||||
return $server->getImageResponse($path, request()->all());
|
||||
try {
|
||||
return $server->getImageResponse($path, request()->all());
|
||||
} catch (\Exception $exception) {
|
||||
abort(404);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user