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

Minor fix with hostname

This commit is contained in:
Eldad Fux 2020-05-22 13:46:44 +03:00
parent 3d0299bfa4
commit 66e4866b49

View file

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