| 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 | "services": [ |
| 13 | { "binding": "WORKER_SELF_REFERENCE", "service": "codewhale-web" } |
| 14 | ], |
| 15 | "ratelimits": [ |
| 16 | { |
| 17 | "name": "ADMIN_LOGIN_LIMITER", |
| 18 | "namespace_id": "913001", |
| 19 | "simple": { "limit": 5, "period": 60 } |
| 20 | } |
| 21 | ], |
| 22 | "routes": [ |
| 23 | { "pattern": "codewhale.net", "custom_domain": true }, |
| 24 | { "pattern": "www.codewhale.net", "custom_domain": true } |
| 25 | ], |
| 26 | "kv_namespaces": [ |
| 27 | { |
| 28 | "binding": "CURATED_KV", |
| 29 | "id": "abaa6a753c9d45bfa5c0afaf26dc67b3" |
| 30 | }, |
| 31 | { |
| 32 | "binding": "NEXT_INC_CACHE_KV", |
| 33 | "id": "a2e6f324db9b4b03bbc940a4ba246985" |
| 34 | } |
| 35 | ], |
| 36 | "vars": { |
| 37 | "GITHUB_REPO": "Hmbown/CodeWhale", |
| 38 | "DEEPSEEK_MODEL": "deepseek-v4-flash", |
| 39 | "DEEPSEEK_BASE_URL": "https://gateway.ai.cloudflare.com/v1/cf50f793171d7cb3b2ce23368b69cdcb/codewhale-web/deepseek", |
| 40 | "SUPABASE_URL": "https://mungbvkvpkxbkjzspehg.supabase.co" |
| 41 | }, |
| 42 | "triggers": { |
| 43 | "crons": [ |
| 44 | "0 */6 * * *", |
| 45 | "*/30 * * * *", |
| 46 | "0 0 * * *", |
| 47 | "0 9 * * 1" |
| 48 | ] |
| 49 | } |
| 50 | } |
| 51 |