Hosting prep: multi-origin CORS, signup redirect, region env
- Backend CORS now accepts FRONTEND_URL + any *.vercel.app preview + localhost dev ports via origin function (was a single origin). - Signup posts emailRedirectTo: window.location.origin so the Supabase confirmation link returns users to whichever Vercel host they signed up on (production or preview). - S3 client region is now env-configurable via R2_REGION (default "auto" still works for Cloudflare R2; Supabase Storage / MinIO need a real region like "us-west-2"). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| Repository | nwhitehouse/mike |
|---|---|
| Author | Nick Whitehouse <nick.whitehouse@mccarthyfinch.com> |
| Authored | |
| Parents | 5a1b0cc3 |
| Stats | 4 files changed , +39 , -5 |
| Part of | Launch-week hosting and CI ops |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-076add79.md
from inside the repo you want the change in.