withoutVerifying() ->withHeaders([ 'X-API-KEY' => $apiKey, 'X-TENANT-ID' => 287, // TODO: session('selected_tenant_id', 1) 로 복원 ]) ->withToken($token) ->timeout(15) ->get("/api/v1/files/{$id}/view"); if (! $response->successful()) { abort(404); } return response($response->body(), 200, [ 'Content-Type' => $response->header('Content-Type', 'image/png'), 'Content-Disposition' => 'inline', 'Cache-Control' => 'private, max-age=3600', ]); } }