Open ruanyf opened 5 months ago
Cloudflare worker app's export should be written as follow.
export default { fetch: router.fetch }
Otherwise, wrangler deploy will throw error.
The uploaded script has no registered event handlers. [code: 10068]
Hi @ruanyf
That code should work correctly. Maybe it's not a bug.
Cloudflare worker app's export should be written as follow.
Otherwise, wrangler deploy will throw error.