From 0c949375bcfaa701107b2fc443d5b0b960f959d4 Mon Sep 17 00:00:00 2001 From: Fabrizio Date: Mon, 22 Jan 2024 12:24:35 +0000 Subject: [PATCH] fix: correct fallback env variable (#425) --- src/config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 2f70ca5f..641845ec 100644 --- a/src/config.ts +++ b/src/config.ts @@ -204,7 +204,10 @@ export function getConfig(options?: { reload?: boolean }): StorageConfigType { storageBackendType: getOptionalConfigFromEnv('STORAGE_BACKEND') as StorageBackendType, // Storage - File - storageFilePath: getOptionalConfigFromEnv('STORAGE_FILE_BACKEND_PATH', 'STORAGE_FILE_PATH'), + storageFilePath: getOptionalConfigFromEnv( + 'STORAGE_FILE_BACKEND_PATH', + 'FILE_STORAGE_BACKEND_PATH' + ), // Storage - S3 storageS3MaxSockets: parseInt(