Fix tests

This commit is contained in:
Khushboo Verma 2025-07-03 00:08:29 +05:30
parent 253195698e
commit 0f37a0e0ef

View file

@ -594,7 +594,7 @@ class Builds extends Action
]);
$protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https';
$hostname = System::getEnv('_APP_CONSOLE_DOMAIN', System::getEnv('_APP_DOMAIN', ''));
$hostname = System::getEnv('_APP_DOMAIN');
$endpoint = $protocol . '://' . $hostname . "/v1";
// Appwrite vars