We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd922a commit 84e8b32Copy full SHA for 84e8b32
src/libs/storage/r2.ts
@@ -44,7 +44,7 @@ export async function uploadToR2(
44
}
45
46
// Return public URL of R2 (should be using custom domain)
47
- const publicUrl = `https://${env.CLOUDFLARE_R2_URL}/${key}`;
+ const publicUrl = `https://${process.env.CLOUDFLARE_R2_URL}/${key}`;
48
49
return {
50
success: true,
0 commit comments