diff --git a/README.md b/README.md index ccb8882..bf5c9d2 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Or add the package to your `composer.json`: ```json { "require": { - "infusionweb/laravel-remote-content-cache": "~1.3.0" + "infusionweb/laravel-remote-content-cache": "~1.3.1" } } ``` diff --git a/src/ContentCache/ContentCache.php b/src/ContentCache/ContentCache.php index a94140f..30f947f 100644 --- a/src/ContentCache/ContentCache.php +++ b/src/ContentCache/ContentCache.php @@ -46,7 +46,13 @@ protected function getContentChunk($name = '', $limit = 100, $offset = 0) $query['limit'] = $limit; $query['offset'] = $offset; - $response = Guzzle::get( $profile->getEndpoint(), ['query' => $query] ); + $response = Guzzle::get( + $profile->getEndpoint(), + [ + 'query' => $query, + 'verify' => false, + ], + ); $result = json_decode($response->getBody()); if (is_object($result) && property_exists($result, 'results') && is_array($result->results)) {