diff --git a/app/config/collections.php b/app/config/collections.php index 122b722f90..da563f3e25 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -38,12 +38,24 @@ $collections = [ '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, 'name' => 'Localhost (SSL)', 'type' => 'web', - 'url' => 'https://'.$request->getServer('HTTP_HOST'), + 'url' => 'https://localhost', ], [ '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, 'name' => 'Localhost (Non-SSL)', 'type' => 'web', + 'url' => 'http://localhost', + ], + [ + '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, + 'name' => 'Current Host (SSL)', + 'type' => 'web', + 'url' => 'https://'.$request->getServer('HTTP_HOST'), + ], + [ + '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, + 'name' => 'Current Host (Non-SSL)', + 'type' => 'web', 'url' => 'http://'.$request->getServer('HTTP_HOST'), ], ],