mirror of
https://github.com/rclone/rclone.git
synced 2025-06-23 05:21:50 +02:00
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
This commit is contained in:
parent
ae6018355c
commit
bb62c49489
2
b2/b2.go
2
b2/b2.go
@ -29,7 +29,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
defaultEndpoint = "https://api.backblaze.com"
|
defaultEndpoint = "https://api.backblazeb2.com"
|
||||||
headerPrefix = "x-bz-info-" // lower case as that is what the server returns
|
headerPrefix = "x-bz-info-" // lower case as that is what the server returns
|
||||||
timeKey = "src_last_modified_millis"
|
timeKey = "src_last_modified_millis"
|
||||||
timeHeader = headerPrefix + timeKey
|
timeHeader = headerPrefix + timeKey
|
||||||
|
Loading…
x
Reference in New Issue
Block a user