wrangler.jsonc{"$schema": "node_modules/wrangler/config-schema.json","name": "2d-game-base","compatibility_date": "2026-07-19",// Assets-only Worker: no `main` entry, Cloudflare serves `dist/` directly.// Rename the Worker by changing "name" above — nothing else references it."assets": {"directory": "./dist","not_found_handling": "single-page-application"},// Custom domain on the gallop.software zone; Cloudflare creates the DNS record.// Note: declaring routes disables the *.workers.dev URL unless workers_dev is set true."routes": [{"pattern": "2d-game-base-cloudflare.gallop.software","custom_domain": true}],"observability": {"enabled": true}}