diff --git a/app/config/collections.php b/app/config/collections.php index f3e2711be1..28c0e955af 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -1,6 +1,6 @@ Database::SYSTEM_COLLECTION_PLATFORMS, 'name' => 'Localhost (SSL)', 'type' => 'web', - 'url' => 'https://localhost', + 'url' => 'https://' . $request->getServer('HTTP_HOST'), ], [ '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, 'name' => 'Localhost (Non-SSL)', 'type' => 'web', - 'url' => 'http://localhost', + 'url' => 'http://' . $request->getServer('HTTP_HOST'), ], ], 'legalName' => '',