Skip to content

Commit

Permalink
fix: correct fallback env variable (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
fenos authored Jan 22, 2024
1 parent 652f8ec commit 0c94937
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0c94937

Please sign in to comment.