Files
av-planner/wrangler.app.jsonc
T
aarbitandClaude Sonnet 5 0a7f2f7fee 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
2026-09-28 10:05:59 -05:00

20 lines
589 B
JSON

// 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
}
]
}