mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
formatting
This commit is contained in:
parent
05e1bb242f
commit
3502cad4a5
2 changed files with 5 additions and 5 deletions
2
.env
2
.env
|
|
@ -131,4 +131,4 @@ _APP_FUNCTIONS_CREATION_ABUSE_LIMIT=5000
|
|||
_APP_STATS_USAGE_DUAL_WRITING_DBS=database_db_main
|
||||
_APP_TRUSTED_HEADERS=x-forwarded-for
|
||||
_APP_POOL_ADAPTER=stack
|
||||
_APP_MIGRATION_ENDPOINT=http://appwrite.test/v1
|
||||
_APP_MIGRATION_ENDPOINT=http://appwrite.test/v1
|
||||
|
|
|
|||
|
|
@ -333,10 +333,10 @@ class Migrations extends Action
|
|||
|
||||
$transfer = $source = $destination = null;
|
||||
|
||||
// $endpoint = System::getEnv('_APP_MIGRATION_ENDPOINT');
|
||||
// if (empty($endpoint)) {
|
||||
// throw new \Exception('_APP_MIGRATION_ENDPOINT env is empty');
|
||||
// }
|
||||
// $endpoint = System::getEnv('_APP_MIGRATION_ENDPOINT');
|
||||
// if (empty($endpoint)) {
|
||||
// throw new \Exception('_APP_MIGRATION_ENDPOINT env is empty');
|
||||
// }
|
||||
|
||||
$protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') === 'disabled' ? 'http' : 'https';
|
||||
$endpoint = $protocol . '://' . $platform['apiHostname'] . '/v1';
|
||||
|
|
|
|||
Loading…
Reference in a new issue