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:
parent
693d38eb7d
commit
69ecaf2335
|
|
@ -1,4 +1,4 @@
|
|||
main = "worker/worker.ts"
|
||||
main = "worker.ts"
|
||||
compatibility_date = "2024-07-01"
|
||||
name = "jeffemmett-canvas-dev"
|
||||
account_id = "0e7b3338d5278ed1b148e6456b940913"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue