wrangler.jsonc 1.4 KB

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