wrangler.jsonc (1503B)
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": "status-bot", 8 "main": "src/index.js", 9 "compatibility_date": "2026-09-21", 10 "observability": { 11 "enabled": true 12 }, 13 "upload_source_maps": true, 14 "keep_vars": true 15 /** 16 * Smart Placement 17 * https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement 18 */ 19 // "placement": { "mode": "smart" } 20 /** 21 * Bindings 22 * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including 23 * databases, object storage, AI inference, real-time communication and more. 24 * https://developers.cloudflare.com/workers/runtime-apis/bindings/ 25 */ 26 /** 27 * Environment Variables 28 * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables 29 * Note: Use secrets to store sensitive data. 30 * https://developers.cloudflare.com/workers/configuration/secrets/ 31 */ 32 // "vars": { "MY_VARIABLE": "production_value" } 33 /** 34 * Static Assets 35 * https://developers.cloudflare.com/workers/static-assets/binding/ 36 */ 37 // "assets": { "directory": "./public/", "binding": "ASSETS" } 38 /** 39 * Service Bindings (communicate between multiple Workers) 40 * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings 41 */ 42 // "services": [ { "binding": "MY_SERVICE", "service": "my-service" } ] 43 }