mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-06 04:51:32 -07:00
Fixed hardcoded region in Spaces constructor
This commit is contained in:
parent
6bc100cf90
commit
4f4b6148d2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Spaces
|
||||||
{
|
{
|
||||||
$this->s3 = new S3Client([
|
$this->s3 = new S3Client([
|
||||||
"version" => "latest",
|
"version" => "latest",
|
||||||
"region" => "us-east-1",
|
"region" => $region,
|
||||||
"endpoint" => "https://$region.$host",
|
"endpoint" => "https://$region.$host",
|
||||||
"credentials" => ["key" => $accessKey, "secret" => $secretKey],
|
"credentials" => ["key" => $accessKey, "secret" => $secretKey],
|
||||||
"ua_append" => "SociallyDev-Spaces-API/2",
|
"ua_append" => "SociallyDev-Spaces-API/2",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue