Skip to content

Commit

Permalink
no versioned file fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
leowebguy committed Sep 3, 2021
1 parent 9903c9e commit 2307d6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/MixManifestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function read($file, $manifest)
return $jsonManifest[$file];
}

throw new HttpException(500, "File '{$file}' not defined in '{$manifest}'");
// fallback to file without versioning
return $file . '?id=manifest-not-found';
}
}

0 comments on commit 2307d6f

Please sign in to comment.