From 9fa6a2c54b39be3fc28a59105f7dacf8350663c4 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Fri, 13 Mar 2020 10:34:12 +0300 Subject: [PATCH] updated configs --- config/app.php | 2 +- config/cache.php | 1 + config/cors.php | 4 ++-- config/mail.php | 12 ++++++++++++ config/queue.php | 1 + config/view.php | 14 -------------- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/config/app.php b/config/app.php index 9c7db1d99..a5f182570 100644 --- a/config/app.php +++ b/config/app.php @@ -38,7 +38,7 @@ return [ | */ - 'debug' => env('APP_DEBUG', false), + 'debug' => (bool) env('APP_DEBUG', false), /* |-------------------------------------------------------------------------- diff --git a/config/cache.php b/config/cache.php index d851c2103..a8eaf93b1 100644 --- a/config/cache.php +++ b/config/cache.php @@ -39,6 +39,7 @@ return [ 'array' => [ 'driver' => 'array', + 'serialize' => false, ], 'database' => [ diff --git a/config/cors.php b/config/cors.php index 5c9de8972..558369dca 100644 --- a/config/cors.php +++ b/config/cors.php @@ -25,9 +25,9 @@ return [ 'allowed_headers' => ['*'], - 'exposed_headers' => false, + 'exposed_headers' => [], - 'max_age' => false, + 'max_age' => 0, 'supports_credentials' => false, diff --git a/config/mail.php b/config/mail.php index e1664d48f..9d357587a 100644 --- a/config/mail.php +++ b/config/mail.php @@ -47,6 +47,18 @@ return [ 'transport' => 'ses', ], + 'mailgun' => [ + 'transport' => 'mailgun', + ], + + 'postmark' => [ + 'transport' => 'postmark', + ], + + 'sendgrid' => [ + 'transport' => 'sendgrid', + ], + 'sendmail' => [ 'transport' => 'sendmail', 'path' => '/usr/sbin/sendmail -bs', diff --git a/config/queue.php b/config/queue.php index 3a30d6c68..00b76d651 100644 --- a/config/queue.php +++ b/config/queue.php @@ -55,6 +55,7 @@ return [ 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 'queue' => env('SQS_QUEUE', 'your-queue-name'), + 'suffix' => env('SQS_SUFFIX'), 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), ], diff --git a/config/view.php b/config/view.php index 1b3162f3a..22b8a18d3 100644 --- a/config/view.php +++ b/config/view.php @@ -33,18 +33,4 @@ return [ realpath(storage_path('framework/views')) ), - - /* - |-------------------------------------------------------------------------- - | Blade View Modification Checking - |-------------------------------------------------------------------------- - | - | On every request the framework will check to see if a view has expired - | to determine if it needs to be recompiled. If you are in production - | and precompiling views this feature may be disabled to save time. - | - */ - - 'expires' => env('VIEW_CHECK_EXPIRATION', true), - ];