Fix endpoint format
This commit is contained in:
parent
c8950589b3
commit
1c352dade1
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ function getR2() {
|
|||
return {
|
||||
client: new S3Client({
|
||||
region: "auto",
|
||||
endpoint: `https://${accountId}.r2.cloudflarestorage.com/${bucket}`,
|
||||
endpoint: `https://${accountId}.r2.cloudflarestorage.com/tia`,
|
||||
credentials: { accessKeyId, secretAccessKey: secretKey },
|
||||
}),
|
||||
bucket,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue