From b5075f1d26b3d98265e703550c45dc056c095ba0 Mon Sep 17 00:00:00 2001 From: Jozef Rebjak Date: Mon, 11 Sep 2023 23:10:31 +0200 Subject: [PATCH] fix: assets config should not be called via class --- src/Asset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Asset.php b/src/Asset.php index d127114..b66c9ea 100644 --- a/src/Asset.php +++ b/src/Asset.php @@ -51,7 +51,7 @@ final class Asset public static function config(): AssetsConfig { if (self::$config === null) { - self::$config = config(AssetsConfig::class); + self::$config = config('Assets'); // Standardize formats self::$config->uri = rtrim(self::$config->uri, '/\\') . '/';