From 07d7b1195c7e1def2c5eb7ad336d16bc3d2f02b1 Mon Sep 17 00:00:00 2001 From: Cailyn Sinclair Date: Mon, 23 Nov 2026 10:30:00 -0800 Subject: [PATCH 1/2] Point Cloudflare Worker at main hostname --- wrangler.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index f9977db..87a5e37 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -5,7 +5,7 @@ "compatibility_date": "2026-11-23", "routes": [ { - "pattern": "beta.competitiongroups.com", + "pattern": "main.competitiongroups.com", "custom_domain": true, }, ], From 08892fb5938a255a87f347534445146acc300b74 Mon Sep 17 00:00:00 2001 From: Cailyn Sinclair Date: Mon, 23 Nov 2026 10:30:16 -0800 Subject: [PATCH 2/2] Document main branch Cloudflare hosting --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f776521..88379b6 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,13 @@ yarn storybook yarn build-storybook ``` -## Cloudflare beta deployment +## Cloudflare deployment -The beta Worker serves the Vite build and handles the NotifyComp token endpoint. Its custom domain is -`beta.competitiongroups.com`; production remains on Netlify until the main-domain cutover. +The Cloudflare Worker serves the Vite build and handles the NotifyComp token endpoint. Its custom domain is +`main.competitiongroups.com`; production remains on Netlify until the main-domain cutover. -Cloudflare Workers Builds deploys commits pushed to the `beta` branch to the beta Worker. Pull -requests targeting `beta` create preview deployments. The build uses `yarn run build` followed +Cloudflare Workers Builds deploys commits pushed to the `main` branch to this Worker. Pull +requests targeting `main` create preview deployments. The build uses `yarn run build` followed by `npx wrangler deploy`; set the public `VITE_WCA_CLIENT_ID` build variable in Cloudflare for WCA sign-in. Runtime secrets belong in Worker secrets, not build variables.