We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97600c0 commit c99d17dCopy full SHA for c99d17d
src/Providers/ServiceProvider.php
@@ -52,7 +52,9 @@ protected function registerClients()
52
$this->app->extend(
53
ClientInterface::class,
54
static function (ClientInterface $client) {
55
- $client->setBaseUri(config('jsonapi.base_uri'));
+ if ($baseUri = config('jsonapi.base_uri')) {
56
+ $client->setBaseUri($baseUri);
57
+ }
58
59
return $client;
60
}
0 commit comments