Skip to content

Commit 848c9c7

Browse files
committed
B2B-1789: First Request For Storefront Image After Deleting Local File System Cached Images Results In Magento Placeholder Image When Using S3 -
fixed htacces files
1 parent 9707339 commit 848c9c7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app/code/Magento/RemoteStorage/Plugin/File/Storage/SynchronizationFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ public function __construct(ObjectManagerInterface $objectManager, Config $confi
5454
*/
5555
public function aroundCreate(MediaSynchronizationFactory $subject, callable $proceed, array $data = [])
5656
{
57-
$result = $proceed($data);
5857
if ($this->config->isEnabled()) {
5958
return $this->objectManager->create(Synchronization::class, $data);
6059
}
61-
return $result;
60+
return $proceed($data);
6261
}
6362
}

generated/.htaccess

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
<IfVersion >= 2.4>
66
Require all denied
77
</IfVersion>
8+

var/.htaccess

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
<IfVersion >= 2.4>
66
Require all denied
77
</IfVersion>
8+

0 commit comments

Comments
 (0)