fix: s3 integration + custom s3 (minio) support
This commit is contained in:
@@ -6,7 +6,7 @@ const s3Client: S3 | undefined =
|
||||
process.env.SPACES_KEY &&
|
||||
process.env.SPACES_SECRET
|
||||
? new S3({
|
||||
forcePathStyle: false,
|
||||
forcePathStyle: !!process.env.SPACES_FORCE_PATH_STYLE,
|
||||
endpoint: process.env.SPACES_ENDPOINT,
|
||||
region: process.env.SPACES_REGION,
|
||||
credentials: {
|
||||
|
||||
Reference in New Issue
Block a user