From 4f85dd87215ef1ab5ca8eb53ea4fa907620523e0 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 4 May 2026 02:01:12 +0000 Subject: [PATCH] chore: pin R2 endpoint and public URL in wrangler vars Now that the bucket and r2.dev subdomain are provisioned, commit the URLs as wrangler [vars] so deploys are reproducible without relying on dashboard-managed plain-text variables. Only the access key and secret remain dashboard-only secrets. https://claude.ai/code/session_01TPBqgcSJMppgrpiq7fLywL --- apps/web/wrangler.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/web/wrangler.toml b/apps/web/wrangler.toml index cfb2aca..9676df5 100644 --- a/apps/web/wrangler.toml +++ b/apps/web/wrangler.toml @@ -25,10 +25,11 @@ PUBLIC_BASE_URL = "https://stefanieeleandro.pages.dev" S3_REGION = "auto" S3_BUCKET = "wedding-media" S3_FORCE_PATH_STYLE = "false" -# S3_ENDPOINT, S3_PUBLIC_BASE_URL, CF_ACCESS_TEAM, CF_ACCESS_AUD are -# set after Cloudflare config (see deploy notes). +S3_ENDPOINT = "https://04cc83318332b325076a71c8db5e6c42.r2.cloudflarestorage.com" +S3_PUBLIC_BASE_URL = "https://pub-e29e475661ee460c99ba6ea01cf26a7c.r2.dev" +# CF_ACCESS_TEAM, CF_ACCESS_AUD are set after the Cloudflare Access app is created. # -# Secrets (set via `wrangler secret put ` or via the dashboard): +# Secrets (set via dashboard or `wrangler secret put`): # S3_ACCESS_KEY_ID # S3_SECRET_ACCESS_KEY # TURNSTILE_SECRET