From 4884d7ecdde9c0673e01ed3cc4de62299a905037 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Mon, 4 Nov 2024 12:30:18 +0800 Subject: [PATCH 1/2] Laravel Vapor - Quick fix to download a broken link --- .../components/bookings/forms/PurchaseOrderFormComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/vue/components/bookings/forms/PurchaseOrderFormComponent.vue b/resources/assets/vue/components/bookings/forms/PurchaseOrderFormComponent.vue index f721851d..de4e496b 100644 --- a/resources/assets/vue/components/bookings/forms/PurchaseOrderFormComponent.vue +++ b/resources/assets/vue/components/bookings/forms/PurchaseOrderFormComponent.vue @@ -100,7 +100,7 @@ From 1282ab4e4505bdf4b008c1020b59c7433fdfaacc Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Tue, 5 Nov 2024 02:42:25 +0800 Subject: [PATCH 2/2] Laravel Vapor - Update custom logs retention period --- config/logging.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/logging.php b/config/logging.php index ef566d23..5781d006 100644 --- a/config/logging.php +++ b/config/logging.php @@ -145,7 +145,7 @@ return [ 'secret' => env('AWS_CW_SECRET') ] ], - 'retention' => 31, + 'retention' => env('APP_ENV') === 'production' ? 90 : 6, 'level' => 'debug', 'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'), ], @@ -163,7 +163,7 @@ return [ 'secret' => env('AWS_CW_SECRET') ] ], - 'retention' => 31, + 'retention' => env('APP_ENV') === 'production' ? 90 : 6, 'level' => 'debug', 'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'), ], @@ -181,7 +181,7 @@ return [ 'secret' => env('AWS_CW_SECRET') ] ], - 'retention' => 31, + 'retention' => env('APP_ENV') === 'production' ? 90 : 6, 'level' => 'debug', 'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'), ], @@ -199,7 +199,7 @@ return [ 'secret' => env('AWS_CW_SECRET') ] ], - 'retention' => 31, + 'retention' => env('APP_ENV') === 'production' ? 90 : 6, 'level' => 'debug', 'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'), ],