Fixed hardcoded region in Spaces constructor

This commit is contained in:
Aleksandar Kolakov 2022-12-18 12:18:36 +02:00 committed by David Wakelin
parent 6bc100cf90
commit 4f4b6148d2

View file

@ -36,7 +36,7 @@ class Spaces
{
$this->s3 = new S3Client([
"version" => "latest",
"region" => "us-east-1",
"region" => $region,
"endpoint" => "https://$region.$host",
"credentials" => ["key" => $accessKey, "secret" => $secretKey],
"ua_append" => "SociallyDev-Spaces-API/2",