Checklists /Cloudflare /Deploy
Medium
Attach the domain you will actually share
A workers.dev URL is a fine test. Customers and sign-in cookies should use the domain you own, on HTTPS, which Cloudflare terminates for you. Update auth redirects to that host before you announce it.
How to check
- The URL you will share is your domain and it loads the current deployment.
- HTTP redirects to HTTPS.
- Auth redirect allow-lists use this host.
- You know how to roll back a Worker version if the next deploy breaks.
Prompt
Fix prompt
You are working in this repository. Do not add features. Goal: the app uses a single canonical origin from an environment variable, so auth redirects and links are not stuck on a workers.dev host. Steps: 1. Find hard-coded workers.dev or localhost origins used in redirects. 2. Read the public site URL from env. 3. Document the custom domain step in the README: route the Worker, then set the var. 4. Do not run wrangler deploy. 5. List the values I still need to set.