From 037878cc751aaa9d4d3248d9fddd9a6036135576 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 31 Mar 2026 15:11:11 +0530 Subject: [PATCH] fix: use correct defaults for spec generation Use https://appwrite.io and team@appwrite.io as defaults for _APP_HOME and _APP_SYSTEM_TEAM_EMAIL in spec generation, instead of [HOSTNAME] and team@localhost.test placeholders. --- src/Appwrite/Platform/Tasks/Specs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/Specs.php b/src/Appwrite/Platform/Tasks/Specs.php index 6453977a39..a6a5284fb0 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -347,8 +347,8 @@ class Specs extends Action $keys = $this->getKeys(); $generatedFiles = []; - $endpoint = System::getEnv('_APP_HOME', '[HOSTNAME]'); - $email = System::getEnv('_APP_SYSTEM_TEAM_EMAIL', APP_EMAIL_TEAM); + $endpoint = System::getEnv('_APP_HOME', 'https://appwrite.io'); + $email = System::getEnv('_APP_SYSTEM_TEAM_EMAIL', 'team@appwrite.io'); $specsDir = __DIR__ . '/../../../../app/config/specs'; if (!is_dir($specsDir) && !@mkdir($specsDir, 0755, true) && !is_dir($specsDir)) {