diff --git a/.env b/.env index 5f7a76d4ea..3755c064c5 100644 --- a/.env +++ b/.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 \ No newline at end of file +_APP_MIGRATION_ENDPOINT=http://appwrite.test/v1 diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index 03eddd872a..b23e71cd15 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -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';