imagecache icon indicating copy to clipboard operation
imagecache copied to clipboard

abort() suggestion when file not found

Open iateadonut opened this issue 5 years ago • 0 comments

In laravel, abort(404) returns a custom 404 page, which can take some time.

Maybe https://github.com/Intervention/imagecache/blob/master/src/Intervention/Image/ImageCacheController.php - line 137 should be this instead, so it just returns one line?:

abort( response()->json(['message' => 'Not Found!'], 404) );

iateadonut avatar Apr 08 '21 09:04 iateadonut