contents(auth()->user()); abort_if($contents === null, 404); return response($contents, 200, [ 'Content-Type' => 'image/jpeg', 'Cache-Control' => 'private, max-age=300', ]); } }