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