Move wrangler.toml to worker/wrangler.toml to separate Worker and Pages configurations. Cloudflare Pages was trying to read wrangler.toml and failing because it contained Worker-specific configuration (Durable Objects, migrations, etc.) that Pages doesn't support. Changes: - Move wrangler.toml → worker/wrangler.toml - Update deploy scripts to use --config worker/wrangler.toml - Pages deployment now uses Cloudflare dashboard configuration only This resolves the deployment error: "Configuration file cannot contain both 'main' and 'pages_build_output_dir'" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| shapes | ||
| AutomergeDurableObject.ts | ||
| assetUploads.ts | ||
| types.ts | ||
| worker.ts | ||
| wrangler.toml | ||