mirror of https://github.com/perkeep/perkeep.git
Remove lowlevel and update comment
This commit is contained in:
parent
eed05eef5b
commit
c58652a58b
|
@ -72,18 +72,3 @@ Finally, add the b2 config line to your perkeep `server-config.json`:
|
|||
```
|
||||
|
||||
- `endpoint` can be found on the backblaze buckets' interface https://secure.backblaze.com/b2_buckets.htm.
|
||||
|
||||
Using low-level configuration:
|
||||
|
||||
```json
|
||||
"/bs2/": {
|
||||
"handler": "storage-s3",
|
||||
"handlerArgs":{
|
||||
"bucket":"<BUCKET>",
|
||||
"aws_region":"us-west-004",
|
||||
"aws_access_key":"<API_KEY>",
|
||||
"aws_secret_access_key":"<APPLICATION_KEY>",
|
||||
"hostname":"s3.us-west-004.backblazeb2.com"
|
||||
}
|
||||
}
|
||||
```
|
|
@ -77,7 +77,7 @@ func normalizeBucketLocation(ctx context.Context, cfg client.ConfigProvider, end
|
|||
if err != nil {
|
||||
return bucketInfo{}, err
|
||||
}
|
||||
// if isAWS is false, this is b2 related
|
||||
// if isAWS is false, the target also supports AWS s3 API
|
||||
if !isAWS {
|
||||
return bucketInfo{
|
||||
endpoint: endpoint,
|
||||
|
|
Loading…
Reference in New Issue