Skip to content

Commit ed40d39

Browse files
committed
MAGETWO-85180: [Backport 2.1-develop] Fix swagger-ui on instances of Magento running on a non-standard port #12579
- Merge Pull Request #12579 from JeroenVanLeusden/magento2:patch-3 - Merged commits: 1. bfbd9be
2 parents 409eef5 + bfbd9be commit ed40d39

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Webapi/Controller

1 file changed

+1
-1
lines changed

app/code/Magento/Webapi/Controller/Rest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ protected function processSchemaRequest()
280280
$responseBody = $this->swaggerGenerator->generate(
281281
$requestedServices,
282282
$this->_request->getScheme(),
283-
$this->_request->getHttpHost(),
283+
$this->_request->getHttpHost(false),
284284
$this->_request->getRequestUri()
285285
);
286286
$this->_response->setBody($responseBody)->setHeader('Content-Type', 'application/json');

0 commit comments

Comments
 (0)