Fix R2 URL format

This commit is contained in:
Manohar Gupta 2026-05-10 14:24:07 +05:30
parent e37b9528f9
commit 7d98c2c46c

View file

@ -20,7 +20,7 @@ function getR2() {
forcePathStyle: true, forcePathStyle: true,
}), }),
bucket, bucket,
baseUrl: `https://${accountId}.r2.cloudflarestorage.com/${bucket}`, baseUrl: `https://${accountId}.r2.cloudflarestorage.com`,
}; };
} }