We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4b7af3 commit b20eab6Copy full SHA for b20eab6
packages/framework/src/Support/Filesystem/MediaFile.php
@@ -30,7 +30,7 @@ class MediaFile extends ProjectFile
30
31
public function __construct(string $path)
32
{
33
- $path = Str::after($path, Hyde::getMediaDirectory().'/');
+ $path = trim_slashes(Str::after($path, Hyde::getMediaDirectory()));
34
35
parent::__construct($path);
36
}
0 commit comments