diff --git a/app/config/frameworks.php b/app/config/frameworks.php index 82fd70bf5b..5440e9a538 100644 --- a/app/config/frameworks.php +++ b/app/config/frameworks.php @@ -138,7 +138,7 @@ return [ 'vue' => [ 'key' => 'vue', 'name' => 'Vue.js', - 'screenshotSleep' => 3000, + 'screenshotSleep' => 5000, 'buildRuntime' => 'node-22', 'runtimes' => getVersions($templateRuntimes['NODE']['versions'], 'node'), 'adapters' => [ diff --git a/app/controllers/general.php b/app/controllers/general.php index 87a9c420c7..5ce0a03471 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -269,7 +269,8 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw throw new AppwriteException(AppwriteException::FUNCTION_RUNTIME_UNSUPPORTED, 'Runtime "' . $resource->getAttribute('runtime', '') . '" is not supported'); } - if ($deployment->getAttribute('status') !== 'ready') { + $allowAnyStatus = !\is_null($apiKey) && $apiKey->isDeploymentStatusIgnored(); + if (!$allowAnyStatus && $deployment->getAttribute('status') !== 'ready') { if ($deployment->getAttribute('status') === 'failed') { throw new AppwriteException(AppwriteException::BUILD_FAILED); } else { diff --git a/app/views/general/404.phtml b/app/views/general/404.phtml index 7ec1cfbf21..5e63344c8a 100644 --- a/app/views/general/404.phtml +++ b/app/views/general/404.phtml @@ -7,6 +7,8 @@ 404 Not Found