From 55c1756f361f649b4a615247987d0b849634c957 Mon Sep 17 00:00:00 2001 From: Glen Maddern Date: Fri, 20 Jun 2025 17:00:39 +1000 Subject: [PATCH] deployng to workers.dev for sharing --- examples/chat-ui/wrangler.jsonc | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/examples/chat-ui/wrangler.jsonc b/examples/chat-ui/wrangler.jsonc index 5fe7c28..f505dc2 100644 --- a/examples/chat-ui/wrangler.jsonc +++ b/examples/chat-ui/wrangler.jsonc @@ -4,15 +4,22 @@ */ { "$schema": "node_modules/wrangler/config-schema.json", - "name": "ai-chat-template", - "main": "api/index.ts", + "name": "chat-example-use-mcp", + "workers_dev": true, + // "routes": [ +// { +// "pattern": "chat.use-mcp.dev", +// "custom_domain": true +// } +// ], +// "main": "api/index.ts", "compatibility_date": "2025-02-07", - "ai": { - "binding": "AI" - }, +// "ai": { +// "binding": "AI" +// }, "assets": { "not_found_handling": "single-page-application", - "binding": "ASSETS", +// "binding": "ASSETS", "directory": "dist/client" }, "observability": {