Skip to content

Commit 84e8b32

Browse files
committed
feat: update env
1 parent 4dd922a commit 84e8b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/storage/r2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function uploadToR2(
4444
}
4545

4646
// Return public URL of R2 (should be using custom domain)
47-
const publicUrl = `https://${env.CLOUDFLARE_R2_URL}/${key}`;
47+
const publicUrl = `https://${process.env.CLOUDFLARE_R2_URL}/${key}`;
4848

4949
return {
5050
success: true,

0 commit comments

Comments
 (0)