From 256f2594a86fc39f2bb897201e9872bafc6e6812 Mon Sep 17 00:00:00 2001 From: bim-g Date: Wed, 2 Aug 2023 16:14:44 +0200 Subject: [PATCH] [FIX] missing valid js file location. --- src/Core/Bundles.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Bundles.php b/src/Core/Bundles.php index a19ed78..d92a9ae 100644 --- a/src/Core/Bundles.php +++ b/src/Core/Bundles.php @@ -51,8 +51,8 @@ public static function getHeaderJS() */ static function insertJS(string $file,bool $is_module = false, bool $not_void=false) { - if (is_file(ROOT . 'asset/js/' . $file . '.js')) { - $src = WEB_ROOT . "asset/js/$file.js"; + if (is_file(ROOT . 'assets/js/' . $file . '.js')) { + $src = WEB_ROOT . "assets/js/$file.js"; $type = $is_module ? 'type="module"' : ''; $link = <<