Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
Update VoyagerController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jannejava authored Nov 11, 2024
1 parent fd38f1d commit 7bbbb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/VoyagerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function assets(Request $request)
abort(404);
}

if (File::exists($path)) {
if (File::isFile($path)) {
$mime = '';
if (Str::endsWith($path, '.js')) {
$mime = 'text/javascript';
Expand Down

0 comments on commit 7bbbb97

Please sign in to comment.