diff --git a/examples/inspector/wrangler.jsonc b/examples/inspector/wrangler.jsonc index 763f058..9085041 100644 --- a/examples/inspector/wrangler.jsonc +++ b/examples/inspector/wrangler.jsonc @@ -5,12 +5,18 @@ { "$schema": "node_modules/wrangler/config-schema.json", "name": "inspector-use-mcp", - "route": "inspector.use-mcp.dev", -// "main": "api/index.ts", + "routes": [ + { + "pattern": "inspector.use-mcp.dev", + "custom_domain": true + } + ], + "workers_dev": true, + // "main": "api/index.ts", "compatibility_date": "2025-02-07", -// "ai": { -// "binding": "AI" -// }, + // "ai": { + // "binding": "AI" + // }, "assets": { "not_found_handling": "single-page-application", "directory": "dist" @@ -23,14 +29,12 @@ * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement */ // "placement": { "mode": "smart" }, - /** * Bindings * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including * databases, object storage, AI inference, real-time communication and more. * https://developers.cloudflare.com/workers/runtime-apis/bindings/ */ - /** * Environment Variables * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables @@ -40,16 +44,14 @@ * Note: Use secrets to store sensitive data. * https://developers.cloudflare.com/workers/configuration/secrets/ */ - /** * Static Assets * https://developers.cloudflare.com/workers/static-assets/binding/ */ // "assets": { "directory": "./public/", "binding": "ASSETS" }, - /** * Service Bindings (communicate between multiple Workers) * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings */ // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] -} +} \ No newline at end of file