mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
whitelisted localhost for appwrite console by default
This commit is contained in:
@@ -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'),
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user