Simplify R2 client
This commit is contained in:
parent
7d98c2c46c
commit
07381bdf90
1 changed files with 0 additions and 1 deletions
|
|
@ -17,7 +17,6 @@ function getR2() {
|
||||||
region: "auto",
|
region: "auto",
|
||||||
endpoint: `https://${accountId}.r2.cloudflarestorage.com`,
|
endpoint: `https://${accountId}.r2.cloudflarestorage.com`,
|
||||||
credentials: { accessKeyId, secretAccessKey: secretKey },
|
credentials: { accessKeyId, secretAccessKey: secretKey },
|
||||||
forcePathStyle: true,
|
|
||||||
}),
|
}),
|
||||||
bucket,
|
bucket,
|
||||||
baseUrl: `https://${accountId}.r2.cloudflarestorage.com`,
|
baseUrl: `https://${accountId}.r2.cloudflarestorage.com`,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue