formatting

This commit is contained in:
fogelito 2026-02-01 15:53:41 +02:00
parent 05e1bb242f
commit 3502cad4a5
2 changed files with 5 additions and 5 deletions

2
.env
View file

@ -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

View file

@ -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';