Skip to content

Commit 03961ae

Browse files
committed
Forward call to replacement
1 parent 60ad468 commit 03961ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Foundation/Kernel/Hyperlinks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function relativeLink(string $destination): string
9292
*/
9393
public function mediaLink(string $destination): string
9494
{
95-
return $this->relativeLink("{$this->kernel->getMediaOutputDirectory()}/$destination");
95+
return $this->asset($destination);
9696
}
9797

9898
/**

0 commit comments

Comments
 (0)