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
20 lines
523 B
JSON
20 lines
523 B
JSON
// Deploys the hand-written marketing site (site/) as an assets-only
|
|
// Cloudflare Worker for the bare diagrav.com domain. No build step —
|
|
// serves the folder as-is:
|
|
// npx wrangler deploy --config wrangler.site.jsonc
|
|
{
|
|
"$schema": "./node_modules/wrangler/config-schema.json",
|
|
"name": "diagrav-site",
|
|
"compatibility_date": "2026-09-25",
|
|
"assets": {
|
|
"directory": "./site",
|
|
"not_found_handling": "404-page"
|
|
},
|
|
"routes": [
|
|
{
|
|
"pattern": "diagrav.com",
|
|
"custom_domain": true
|
|
}
|
|
]
|
|
}
|