Skip to content

Commit 9cbb20a

Browse files
committed
Correct url builder
1 parent 3c9b322 commit 9cbb20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiEndpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function _buildUrl($path)
3535
{
3636
$schemas = $this->_definition->getSchemas();
3737
rsort($schemas);
38-
$this->_baseUrl = reset($schemas);
38+
$this->_baseUrl = reset($schemas) . '://';
3939
$this->_baseUrl .= $this->_definition->getHost();
4040
$this->_baseUrl .= '/' . ltrim($this->_definition->getBasePath(), '/');
4141
}

0 commit comments

Comments
 (0)