- configure wrangler for CF account with D1 binding - add feedback API route with rate limiting and github issue creation - add feedback widget component - add project detail page with status/schedule/info tabs - add frappe-gantt type declarations - fix type errors for production build - add migration 0004 for feedback table
45 lines
939 B
JSON
Executable File
45 lines
939 B
JSON
Executable File
/**
|
|
* For more details on how to configure Wrangler, refer to:
|
|
* https://developers.cloudflare.com/workers/wrangler/configuration/
|
|
*/
|
|
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "compass",
|
|
"account_id": "8716137c706ea3d5c209b330084fa9e2",
|
|
"main": ".open-next/worker.js",
|
|
"compatibility_date": "2025-12-01",
|
|
"compatibility_flags": [
|
|
"nodejs_compat",
|
|
"global_fetch_strictly_public"
|
|
],
|
|
"routes": [
|
|
{
|
|
"pattern": "compass.openrangeconstruction.ltd",
|
|
"custom_domain": true
|
|
}
|
|
],
|
|
"assets": {
|
|
"binding": "ASSETS",
|
|
"directory": ".open-next/assets"
|
|
},
|
|
"images": {
|
|
"binding": "IMAGES"
|
|
},
|
|
"services": [
|
|
{
|
|
"binding": "WORKER_SELF_REFERENCE",
|
|
"service": "compass"
|
|
}
|
|
],
|
|
"observability": {
|
|
"enabled": true
|
|
},
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "compass-db",
|
|
"database_id": "cd6983ff-d286-4042-a823-6b2433c9fba7",
|
|
"migrations_dir": "drizzle"
|
|
}
|
|
]
|
|
} |