diff --git a/lib/FroalaEditor/S3.php b/lib/FroalaEditor/S3.php index d79602e..28d114b 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.