From d75a0f3bafe9e4b56f24ea52d43c0d68d877c1dd Mon Sep 17 00:00:00 2001 From: Gareth Thompson Date: Mon, 9 Apr 2018 12:35:17 +0100 Subject: [PATCH 1/2] Add SES_REGION to local environment file The region used by SES was hardcoded into the config file, when all other values were set as environment variables. Tweaked to keep the region consistent with other config options --- config/services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/services.php b/config/services.php index 4460f0ec..1e28ff5e 100644 --- a/config/services.php +++ b/config/services.php @@ -22,7 +22,7 @@ return [ 'ses' => [ 'key' => env('SES_KEY'), 'secret' => env('SES_SECRET'), - 'region' => 'us-east-1', + 'region' => env('SES_REGION','us-east-1'), ], 'sparkpost' => [ From 13990ebbd0d0e9db9f89e5894c5703974a2d0722 Mon Sep 17 00:00:00 2001 From: Gareth Thompson Date: Mon, 9 Apr 2018 12:42:18 +0100 Subject: [PATCH 2/2] Formatting fix --- config/services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/services.php b/config/services.php index 1e28ff5e..aa1f7f82 100644 --- a/config/services.php +++ b/config/services.php @@ -22,7 +22,7 @@ return [ 'ses' => [ 'key' => env('SES_KEY'), 'secret' => env('SES_SECRET'), - 'region' => env('SES_REGION','us-east-1'), + 'region' => env('SES_REGION', 'us-east-1'), ], 'sparkpost' => [