From 19816a8c1e727a28c1308aa6fecd61953b5a2351 Mon Sep 17 00:00:00 2001 From: Mats Lindh Date: Mon, 15 Aug 2016 18:12:26 +0200 Subject: [PATCH] Change authentication domain to api.backblazeb2.com (#9) B2 requires the authentication domain to use the new api.backblazeb2.com from February 2nd, 2017, but the change is already live for those who have updated their clients. --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index a27e5ab..55bbfd6 100644 --- a/src/Client.php +++ b/src/Client.php @@ -407,7 +407,7 @@ public function deleteFile(array $options) */ protected function authorizeAccount() { - $response = $this->client->request('GET', 'https://api.backblaze.com/b2api/v1/b2_authorize_account', [ + $response = $this->client->request('GET', 'https://api.backblazeb2.com/b2api/v1/b2_authorize_account', [ 'auth' => [$this->accountId, $this->applicationKey] ]);