From 13ab245c5a24b88c979352509af403b7359f59b3 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 21 Sep 2023 11:47:59 +1000 Subject: [PATCH] Fixes for react builds --- VERSION.txt | 2 +- app/Console/Commands/ReactBuilder.php | 6 +++--- config/ninja.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 4b5a784f6c..cf3060b3b8 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.7.20 \ No newline at end of file +5.7.21 \ No newline at end of file diff --git a/app/Console/Commands/ReactBuilder.php b/app/Console/Commands/ReactBuilder.php index 8c452880b7..c6f6a854e7 100644 --- a/app/Console/Commands/ReactBuilder.php +++ b/app/Console/Commands/ReactBuilder.php @@ -53,14 +53,14 @@ class ReactBuilder extends Command foreach (new \RecursiveIteratorIterator($directoryIterator) as $file) { if ($file->getExtension() == 'js') { if (str_contains($file->getFileName(), 'index-')) { - $includes .= ''."\n"; + $includes .= ''."\n"; } else { - $includes .= ''."\n"; + $includes .= ''."\n"; } } if (str_contains($file->getFileName(), '.css')) { - $includes .= ''."\n"; + $includes .= ''."\n"; } } diff --git a/config/ninja.php b/config/ninja.php index 3c6fb1d995..969ccc9f10 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -15,8 +15,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => env('APP_VERSION','5.7.20'), - 'app_tag' => env('APP_TAG','5.7.20'), + 'app_version' => env('APP_VERSION','5.7.21'), + 'app_tag' => env('APP_TAG','5.7.21'), 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''),