From 27efaa39c1db1d595aa55c790d607fd0df0fe5fc Mon Sep 17 00:00:00 2001 From: Vivek Date: Wed, 15 Feb 2023 13:07:23 +0530 Subject: [PATCH] PR: Correct URL for other regions #27 --- lib/FroalaEditor/S3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/FroalaEditor/S3.php b/lib/FroalaEditor/S3.php index 16f447e..0dcfa64 100644 --- a/lib/FroalaEditor/S3.php +++ b/lib/FroalaEditor/S3.php @@ -92,7 +92,7 @@ public static function getHash($config) { // Prepare response. $response = new \StdClass; $response->bucket = $bucket; - $response->region = $region != 'us-east-1' ? 's3-' . $region : 's3'; + $response->region = $region != 'us-east-1' ? 's3.' . $region : 's3'; $response->keyStart = $keyStart; // Prepare params.