Skip to content

Commit a7a6056

Browse files
Ihor MasechkoIhor Masechko
authored andcommitted
fix(uploadfs): normalize S3 https env flag
1 parent e77392b commit a7a6056

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • website/modules/@apostrophecms/uploadfs

website/modules/@apostrophecms/uploadfs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const uploadfsOptions = {
99
region: getEnv('APOS_S3_REGION'),
1010
endpoint: getEnv('APOS_S3_ENDPOINT'),
1111
style: getEnv('APOS_S3_STYLE'),
12-
https: aposS3Https === 'true',
12+
https: aposS3Https.toLowerCase() === 'true',
1313
cdn: {
1414
enabled: true,
1515
url: getEnv('APOS_CDN_URL'),

0 commit comments

Comments
 (0)