From 315b024db633d925993d1084add73322664849e4 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Tue, 1 Apr 2025 21:04:04 +0100 Subject: Fix bug with getting url --- src/Assets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Assets.php b/src/Assets.php index b9f3a57..6050176 100644 --- a/src/Assets.php +++ b/src/Assets.php @@ -101,7 +101,7 @@ class Assets { $file = new FileString($file); $manifest = $this->getFileManifest($file); - $url = $manifest->getUrl($file->fileUri) ?? $file->fileUri; + $url = $manifest?->getUrl($file->fileUri) ?? $file->fileUri; $file = new $fileClass($url); $this->pushFile($file, $footer); -- cgit v1.2.3