Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit c048e82

Browse files
committed
fix: save images to public; save as same place as Magento
1 parent 6e33171 commit c048e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/DownloadMagentoProductImage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ public function handle()
5656
$contents = file_get_contents($this->fullUrl);
5757
$name = substr($this->fullUrl, strrpos($this->fullUrl, '/') + 1);
5858

59-
Storage::put('product/'.$name, $contents);
59+
Storage::put('public/product/'.$this->uri, $contents);
6060
}
6161
}

0 commit comments

Comments
 (0)