From 7bbbb97c3a2ba2402af5d00ff13d4312af2f224f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C3=96stlund?= Date: Mon, 11 Nov 2024 21:47:10 +0100 Subject: [PATCH] Update VoyagerController.php --- src/Http/Controllers/VoyagerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Controllers/VoyagerController.php b/src/Http/Controllers/VoyagerController.php index 1083d2deb8..e7cf3857ac 100644 --- a/src/Http/Controllers/VoyagerController.php +++ b/src/Http/Controllers/VoyagerController.php @@ -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';