1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Update app/config/runtimes.php

Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
This commit is contained in:
Damodar Lohani 2022-05-15 13:16:37 +05:45 committed by GitHub
parent 7f9d6ae676
commit 52a03b4a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ use Appwrite\Runtimes\Runtimes;
/**
* List of Appwrite Cloud Functions supported runtimes
*/
$runtimes = new Runtimes(App::getEnv('_APP_EXECUTOR_VERSION'));
$runtimes = new Runtimes(App::getEnv('_APP_EXECUTOR_VERSION', 'v1'));
$allowList = empty(App::getEnv('_APP_FUNCTIONS_RUNTIMES')) ? [] : \explode(',', App::getEnv('_APP_FUNCTIONS_RUNTIMES'));