| 1 | { |
| 2 | "$schema": "node_modules/wrangler/config-schema.json", |
| 3 | "name": "codewhale-web", |
| 4 | "main": "worker.ts", |
| 5 | "compatibility_date": "2025-04-01", |
| 6 | "compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"], |
| 7 | "assets": { |
| 8 | "directory": ".open-next/assets", |
| 9 | "binding": "ASSETS" |
| 10 | }, |
| 11 | "observability": { "enabled": true }, |
| 12 | "routes": [ |
| 13 | { "pattern": "codewhale.net", "custom_domain": true }, |
| 14 | { "pattern": "www.codewhale.net", "custom_domain": true } |
| 15 | ], |
| 16 | "kv_namespaces": [ |
| 17 | { |
| 18 | "binding": "CURATED_KV", |
| 19 | "id": "abaa6a753c9d45bfa5c0afaf26dc67b3" |
| 20 | }, |
| 21 | { |
| 22 | "binding": "NEXT_INC_CACHE_KV", |
| 23 | "id": "a2e6f324db9b4b03bbc940a4ba246985" |
| 24 | } |
| 25 | ], |
| 26 | "vars": { |
| 27 | "GITHUB_REPO": "Hmbown/CodeWhale", |
| 28 | "DEEPSEEK_MODEL": "deepseek-v4-flash", |
| 29 | "DEEPSEEK_BASE_URL": "https://gateway.ai.cloudflare.com/v1/cf50f793171d7cb3b2ce23368b69cdcb/codewhale-web/deepseek" |
| 30 | }, |
| 31 | "triggers": { |
| 32 | "crons": [ |
| 33 | "0 */6 * * *", |
| 34 | "*/30 * * * *", |
| 35 | "0 0 * * *", |
| 36 | "0 9 * * 1" |
| 37 | ] |
| 38 | }, |
| 39 | "build": { |
| 40 | "command": "npm run build && npx opennextjs-cloudflare build" |
| 41 | } |
| 42 | } |
| 43 |