From abe09cfa289d86c6171f7af72138c9011e9dd95d Mon Sep 17 00:00:00 2001 From: Dedan Irungu Date: Sat, 10 Jun 2023 14:14:32 +0300 Subject: [PATCH] 1.0.30 --- composer.json | 2 +- mybizna_install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index e9f1fd8..ccd2203 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "keywords": ["mybizna", "setup manager"], "homepage": "https://github.com/mybizna/setup", "license": "LGPL-3.0-or-later", - "version": "1.0.29", + "version": "1.0.30", "authors": [ { "name": "Dedan Irungu", diff --git a/mybizna_install.sh b/mybizna_install.sh index 0844557..ab64772 100644 --- a/mybizna_install.sh +++ b/mybizna_install.sh @@ -137,7 +137,7 @@ kernel_file_path="app/Http/Kernel.php" # Check if the file exists if [[ -f "$kernel_file_path" ]]; then # Remove the comment from the specified line - sed -i 's#// \\Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful::class,#\Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,#' "$kernel_file_path" + sed -i 's#// \\Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful::class,#\\Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful::class,#' "$kernel_file_path" echo "Comment removed successfully." else