Skip to content

Commit f82e148

Browse files
committed
Revert "Forward call to replacement"
This reverts commit 03961ae.
1 parent 03961ae commit f82e148

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->asset($destination);
95+
return $this->relativeLink("{$this->kernel->getMediaOutputDirectory()}/$destination");
9696
}
9797

9898
/**

0 commit comments

Comments
 (0)