|
|
@@ -44,7 +44,7 @@ class ApiLegacyStorage implements FileStorageInterface
|
|
|
*/
|
|
|
public function getImageUrl(File $file, string $size, bool $relativePath, bool $uncropped = false): string
|
|
|
{
|
|
|
- $url = sprintf('api/files/%s/download/%s?relativePath=1', $file->getId(), $size);
|
|
|
+ $url = sprintf('api/public/files/%s/download/%s?relativePath=1', $file->getId(), $size);
|
|
|
|
|
|
if ($uncropped) {
|
|
|
$url .= '&noCache=true';
|