27 lines
781 B
JSON
27 lines
781 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "web-ui",
|
|
"compatibility_date": "2026-05-10",
|
|
"observability": {
|
|
"enabled": true
|
|
},
|
|
"main": "@tanstack/react-start/server-entry",
|
|
"compatibility_flags": [
|
|
"nodejs_compat"
|
|
],
|
|
"env": {
|
|
// Test deployment: separate Worker, separate URL, own custom domain.
|
|
// Build with CLOUDFLARE_ENV=dev so the generated deploy config targets this env
|
|
// (`npm run deploy:dev`). Top-level `routes` is intentionally omitted: routes are
|
|
// inherited by environments, so prod domains there would also be claimed by dev.
|
|
"dev": {
|
|
"name": "web-ui-dev",
|
|
"routes": [
|
|
{
|
|
"pattern": "devwebui.freshyo.in",
|
|
"custom_domain": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|