Merge branch 'master' into fix-4594-function-response-500

This commit is contained in:
Steven
2023-02-08 12:03:14 -08:00
committed by GitHub
5097 changed files with 91468 additions and 56513 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ function logError(Throwable $error, string $action, Utopia\Route $route = null)
function getStorageDevice($root): Device
{
switch (App::getEnv('_APP_STORAGE_DEVICE', Storage::DEVICE_LOCAL)) {
switch (strtolower(App::getEnv('_APP_STORAGE_DEVICE', Storage::DEVICE_LOCAL))) {
case Storage::DEVICE_LOCAL:
default:
return new Local($root);