where('uuid', $project_uuid)->firstOrFail(); $contents = $iconStorage->projectContents($project); abort_if($contents === null, 404); return response($contents, 200, [ 'Content-Type' => 'image/jpeg', 'Cache-Control' => 'private, max-age=31536000, immutable', ]); } }