diff --git a/app/app.php b/app/app.php index ba3446df27..7837b25ac2 100644 --- a/app/app.php +++ b/app/app.php @@ -3,7 +3,7 @@ // Init require_once __DIR__.'/init.php'; -global $env, $utopia, $request, $response, $register, $consoleDB, $project, $domain, $version, $service, $protocol; +global $env, $utopia, $request, $response, $register, $consoleDB, $project, $domain, $version, $service, $protocol, $domainVerification; use Utopia\App; use Utopia\Request; diff --git a/app/tasks/sdks.php b/app/tasks/sdks.php index 0c9e2a6609..f94ec112d6 100644 --- a/app/tasks/sdks.php +++ b/app/tasks/sdks.php @@ -50,7 +50,8 @@ $cli Console::info('Fetching API Spec for '.$language['name'].' for '.$platform['name']); - $spec = getSSLPage('http://localhost/v1/open-api-2.json?extensions=1&platform='.$language['family']); + //$spec = getSSLPage('http://localhost/v1/open-api-2.json?extensions=1&platform='.$language['family']); + $spec = getSSLPage('http://stage.appwrite.io/v1/open-api-2.json?extensions=1&platform='.$language['family']); $result = realpath(__DIR__.'/..').'/sdks/'.$key.'-'.$language['key']; $target = realpath(__DIR__.'/..').'/sdks/git/'.$language['key'].'/'; @@ -156,7 +157,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND continue; } - $gitUrl = 'git@github.com:aw-tests/'.$language['gitRepoName'].'.git'; + #$gitUrl = 'git@github.com:aw-tests/'.$language['gitRepoName'].'.git'; exec('rm -rf '.$target.' && \ mkdir -p '.$target.' && \