From f26292c66a9f7a98970b66e5d2da96b8050f7a84 Mon Sep 17 00:00:00 2001 From: eldadfux Date: Sat, 24 Aug 2019 10:25:59 +0300 Subject: [PATCH] Added more local hostname to console whitelist --- app/config/collections.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/app/config/collections.php b/app/config/collections.php index 8e91f5ac24..50eb235b4d 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -22,10 +22,28 @@ return [ ], [ '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, - 'name' => 'Development', + 'name' => 'Development (SSL)', 'type' => 'web', 'url' => 'https://appwrite.test', ], + [ + '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, + 'name' => 'Development (Non-SSL)', + 'type' => 'web', + 'url' => 'http://appwrite.test', + ], + [ + '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, + 'name' => 'Localhost (SSL)', + 'type' => 'web', + 'url' => 'https://localhost', + ], + [ + '$collection' => Database::SYSTEM_COLLECTION_PLATFORMS, + 'name' => 'Localhost (Non-SSL)', + 'type' => 'web', + 'url' => 'http://localhost', + ], ], 'legalName' => '', 'legalCountry' => '',