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 d0212c1 commit b7fc928Copy full SHA for b7fc928
packages/framework/src/Support/Filesystem/MediaFile.php
@@ -172,6 +172,7 @@ protected function getNormalizedPath(string $path): string
172
// Normalize the path to include the media directory
173
$path = static::sourcePath(trim_slashes(Str::after($path, Hyde::getMediaDirectory())));
174
175
+ // Since assets need to exist on disk in order to be copied to the built site files we validate that the file is real here.
176
if (Filesystem::missing($path)) {
177
throw new FileNotFoundException($path);
178
}
0 commit comments