Skip to content

Commit

Permalink
Change authentication domain to api.backblazeb2.com (#9)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matslindh authored and Chris White committed Aug 15, 2016
1 parent 3a83aed commit 19816a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]
]);

Expand Down

0 comments on commit 19816a8

Please sign in to comment.