fix: validate the s3 configures exist (#482)

This commit is contained in:
Ahmed Bouhuolia
2024-06-04 15:11:21 +02:00
committed by GitHub
parent f241e2bede
commit bbba54c08e
4 changed files with 34 additions and 16 deletions

View File

@@ -235,6 +235,6 @@ module.exports = {
accessKeyId: process.env.S3_ACCESS_KEY_ID,
secretAccessKey: process.env.S3_SECRET_ACCESS_KEY,
endpoint: process.env.S3_ENDPOINT,
bucket: process.env.S3_BUCKET,
bucket: process.env.S3_BUCKET || 'bigcapital-documents',
},
};