Skip to content

Commit

Permalink
PR: Correct URL for other regions froala#27
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-accolite-801 committed Feb 15, 2023
1 parent 17e50db commit 27efaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FroalaEditor/S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 27efaa3

Please sign in to comment.