From fa554e3dbc58930e9fafd1eab278e44eec1b0964 Mon Sep 17 00:00:00 2001 From: eldadfux Date: Tue, 10 Sep 2019 23:42:47 +0300 Subject: [PATCH] localhost domains are now dynamic --- app/config/collections.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' => '',