Fix for using remote host with non-default port
This commit is contained in:
parent
08f4c0d6e0
commit
0dd3ab5aa8
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ $collections = [
|
||||||
'$collection' => Database::SYSTEM_COLLECTION_PLATFORMS,
|
'$collection' => Database::SYSTEM_COLLECTION_PLATFORMS,
|
||||||
'name' => 'Current Host',
|
'name' => 'Current Host',
|
||||||
'type' => 'web',
|
'type' => 'web',
|
||||||
'hostname' => $request->getServer('HTTP_HOST'),
|
'hostname' => parse_url($request->getServer('HTTP_HOST'), PHP_URL_HOST),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'legalName' => '',
|
'legalName' => '',
|
||||||
|
|
Loading…
Reference in a new issue