We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c99a4 commit 90b6829Copy full SHA for 90b6829
1 file changed
src/Deployer.php
@@ -39,9 +39,10 @@ public function upload_files( string $processed_site_path ) : void {
39
)
40
);
41
42
+ $object_acl = Controller::getValue( 's3ObjectACL' );
43
$put_data = [
44
'Bucket' => Controller::getValue( 's3Bucket' ),
- 'ACL' => 'public-read',
45
+ 'ACL' => $object_acl === '' ? 'public-read' : $object_acl,
46
];
47
48
$cache_control = Controller::getValue( 's3CacheControl' );
0 commit comments