Remove env variable

This commit is contained in:
fogelito 2026-02-02 11:29:38 +02:00
parent e9e51d5334
commit 53b8886729
3 changed files with 0 additions and 7 deletions

1
.env
View file

@ -131,4 +131,3 @@ _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

View file

@ -818,7 +818,6 @@ services:
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
- _APP_DATABASE_SHARED_TABLES
- _APP_OPTIONS_FORCE_HTTPS
- _APP_MIGRATION_ENDPOINT
appwrite-task-maintenance:
entrypoint: maintenance

View file

@ -333,11 +333,6 @@ 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');
// }
$protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') === 'disabled' ? 'http' : 'https';
$endpoint = $protocol . '://' . $platform['apiHostname'] . '/v1';