|
| 1 | +/** |
| 2 | + * For more details on how to configure Wrangler, refer to: |
| 3 | + * https://developers.cloudflare.com/workers/wrangler/configuration/ |
| 4 | + */ |
| 5 | +{ |
| 6 | + "$schema": "node_modules/wrangler/config-schema.json", |
| 7 | + "name": "md-chat", |
| 8 | + "main": ".open-next/worker.js", |
| 9 | + "compatibility_date": "2025-03-01", |
| 10 | + "compatibility_flags": [ |
| 11 | + "nodejs_compat", |
| 12 | + "global_fetch_strictly_public" |
| 13 | + ], |
| 14 | + "assets": { |
| 15 | + "binding": "ASSETS", |
| 16 | + "directory": ".open-next/assets" |
| 17 | + }, |
| 18 | + "observability": { |
| 19 | + "enabled": true |
| 20 | + } |
| 21 | + /** |
| 22 | + * Smart Placement |
| 23 | + * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement |
| 24 | + */ |
| 25 | + // "placement": { "mode": "smart" }, |
| 26 | + |
| 27 | + /** |
| 28 | + * Bindings |
| 29 | + * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including |
| 30 | + * databases, object storage, AI inference, real-time communication and more. |
| 31 | + * https://developers.cloudflare.com/workers/runtime-apis/bindings/ |
| 32 | + */ |
| 33 | + |
| 34 | + /** |
| 35 | + * Environment Variables |
| 36 | + * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables |
| 37 | + */ |
| 38 | + // "vars": { "MY_VARIABLE": "production_value" }, |
| 39 | + /** |
| 40 | + * Note: Use secrets to store sensitive data. |
| 41 | + * https://developers.cloudflare.com/workers/configuration/secrets/ |
| 42 | + */ |
| 43 | + |
| 44 | + /** |
| 45 | + * Static Assets |
| 46 | + * https://developers.cloudflare.com/workers/static-assets/binding/ |
| 47 | + */ |
| 48 | + // "assets": { "directory": "./public/", "binding": "ASSETS" }, |
| 49 | + |
| 50 | + /** |
| 51 | + * Service Bindings (communicate between multiple Workers) |
| 52 | + * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings |
| 53 | + */ |
| 54 | + // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] |
| 55 | +} |
0 commit comments