mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
Remove env variable
This commit is contained in:
parent
e9e51d5334
commit
53b8886729
3 changed files with 0 additions and 7 deletions
1
.env
1
.env
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue