We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4be4b0a + 362209b commit fa21a9dCopy full SHA for fa21a9d
1 file changed
src/Api/HttpApiFactory.php
@@ -22,7 +22,7 @@ public function __invoke(ContainerInterface $container)
22
$options = $config->get('dtm.guzzle.options', []);
23
$client = new Client(array_merge(
24
[
25
- 'base_uri' => $server . ':' . $port,
+ 'base_uri' => empty($port) ? $server : $server . ':' . $port,
26
],
27
$options
28
));
0 commit comments