punisher
punisher
CDCloudflare Developers
Created by punisher on 1/14/2025 in #pages-help
Environment-specific Cloudflare Settings
I'm using Next.js 14 (CSR) and backend deployed on a separate EC2 server. What's the best way to proceed with environment-specific deployments? I have 3 git branches: development, staging, production. Currently app's running on Vercel, meanwhile I'm working in a separate branch to shift to Cloudflare. On push to each branch, first fetch environment variables from Doppler into a .env file. Also, automate dependencies, build, deploy process in the same git workflow. Ideal flow is to have one app on cloudflare pages: web-app and under that each environment's configuration and dns settings so i don't have to change those again and again. Is this possible?
27 replies
CDCloudflare Developers
Created by punisher on 1/13/2025 in #general-help
Google "Redirect URI Mismatch/App sent invalid request"
No description
1 replies