diff --git a/src/View/Linker.php b/src/View/Linker.php index 4cefbcc..b76890a 100644 --- a/src/View/Linker.php +++ b/src/View/Linker.php @@ -139,7 +139,7 @@ class Linker { $output = []; - if (preg_match('/^[\w\/\.]+$/', $asset) === 1) { + if (preg_match('/^http(s)?/', $asset) !== 1) { if ( empty($_ENV['DEV']) && filesize(ROOT . '/public/static/' . $asset) < self::INLINE_ASSET_LIMIT