From bb62c494894ddbba346ab1e8c6dd7eb4a0bfd53f Mon Sep 17 00:00:00 2001 From: Per Cederberg Date: Mon, 15 Aug 2016 15:59:19 +0200 Subject: [PATCH] New B2 API endpoint Backblaze will change the authentication API endpoint on August 16, 2016. The old endpoint will be removed Feb 2nd 2017. See https://help.backblaze.com/hc/en-us/articles/224959187-B2-Domain-Migration-Plan --- b2/b2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2/b2.go b/b2/b2.go index 118deb175..192757943 100644 --- a/b2/b2.go +++ b/b2/b2.go @@ -29,7 +29,7 @@ import ( ) const ( - defaultEndpoint = "https://api.backblaze.com" + defaultEndpoint = "https://api.backblazeb2.com" headerPrefix = "x-bz-info-" // lower case as that is what the server returns timeKey = "src_last_modified_millis" timeHeader = headerPrefix + timeKey