Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

abort() suggestion when file not found #124

@iateadonut

Description

@iateadonut

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) );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions