Deploy to Cloudflare Workers and rebrand to Diagrav

Adds Workers + static-assets configs for the app (app.diagrav.com) and a
separate marketing/landing site (diagrav.com), plus the deployment runbook
used to stand up Supabase Cloud, Google OAuth, Resend SMTP, and Cloudflare
DNS/custom domains. Renames the app from "AV Planner" to "Diagrav" to match
the new domain.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017DUU6CnxECCDeqDNYJgr5x
This commit is contained in:
2026-09-28 10:05:59 -05:00
co-authored by Claude Sonnet 5
parent a5c2ad87e1
commit 0a7f2f7fee
10 changed files with 814 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
// Deploys the built Vite app (dist/) as an assets-only Cloudflare Worker.
// No server-side code — this is purely static hosting for app.diagrav.com.
// Build first (with production VITE_* env vars baked in), then:
// npx wrangler deploy --config wrangler.app.jsonc
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "diagrav-app",
"compatibility_date": "2026-09-25",
"assets": {
"directory": "./dist",
"not_found_handling": "single-page-application"
},
"routes": [
{
"pattern": "app.diagrav.com",
"custom_domain": true
}
]
}