fix: correct worker entry point path in wrangler config files

Update main path from "worker/worker.ts" to "worker.ts" since the wrangler.toml files are located inside the worker/ directory. This fixes the "Missing entry-point to Worker script" error during deployment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2025-11-16 19:05:25 -07:00
parent 693d38eb7d
commit 69ecaf2335
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
main = "worker/worker.ts"
main = "worker.ts"
compatibility_date = "2024-07-01"
name = "jeffemmett-canvas-dev"
account_id = "0e7b3338d5278ed1b148e6456b940913"

View File

@ -1,7 +1,7 @@
# Worker configuration
# Note: This wrangler.toml is for the Worker backend only.
# Pages deployment is configured separately in the Cloudflare dashboard.
main = "worker/worker.ts"
main = "worker.ts"
compatibility_date = "2024-07-01"
name = "jeffemmett-canvas"
account_id = "0e7b3338d5278ed1b148e6456b940913"