Fix endpoint format

This commit is contained in:
Manohar Gupta 2026-05-10 14:38:20 +05:30
parent c8950589b3
commit 1c352dade1

View file

@ -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,