1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Fix for using remote host with non-default port

This commit is contained in:
Eldad Fux 2020-05-21 19:00:10 +03:00
parent 08f4c0d6e0
commit 0dd3ab5aa8

View file

@ -41,7 +41,7 @@ $collections = [
'$collection' => Database::SYSTEM_COLLECTION_PLATFORMS,
'name' => 'Current Host',
'type' => 'web',
'hostname' => $request->getServer('HTTP_HOST'),
'hostname' => parse_url($request->getServer('HTTP_HOST'), PHP_URL_HOST),
],
],
'legalName' => '',