Use correct R2 public URL

This commit is contained in:
Manohar Gupta 2026-05-10 14:35:32 +05:30
parent 4acd016b70
commit 9f77e6cfaf

View file

@ -13,7 +13,7 @@ function getR2() {
} }
// Use public development URL (from R2 bucket settings) // Use public development URL (from R2 bucket settings)
const pubBaseUrl = `https://pub-${accountId}.r2.dev/${bucket}`; const pubBaseUrl = `https://pub-37a76fd657c94d1dbc521a109c087a11.r2.dev/tia`;
return { return {
client: new S3Client({ client: new S3Client({