Skip to content

Commit d000df4

Browse files
MAGETWO-71532: Fix swagger-ui on instances of Magento running on a non-standard port #10504
2 parents 147b334 + 79f6b10 commit d000df4

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ protected function processSchemaRequest()
303303
$responseBody = $this->swaggerGenerator->generate(
304304
$requestedServices,
305305
$this->_request->getScheme(),
306-
$this->_request->getHttpHost(),
306+
$this->_request->getHttpHost(false),
307307
$this->_request->getRequestUri()
308308
);
309309
$this->_response->setBody($responseBody)->setHeader('Content-Type', 'application/json');

0 commit comments

Comments
 (0)