diff --git a/debian/changelog b/debian/changelog index 72d43b33..9d6acb0f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (22.46.4) stable; urgency=low +hedera-web (22.46.5) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 8d2eebff..f18090e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "22.46.4", + "version": "22.46.5", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/web/html.php b/web/html.php index bd663093..923f8742 100644 --- a/web/html.php +++ b/web/html.php @@ -45,7 +45,7 @@ function getWebpackAssets() { function addAssets(&$jsFiles, $assets) { foreach ($assets->js as $asset) - if (strpos($asset, 'chunk.') !== 0) + if (preg_match('/^chunk\./', basename($asset)) === 0) $jsFiles[] = $serverPath.$asset; }