hey! what's the recommended way of

❓ hey! what's the recommended way of running a worker inside a pages directory? just create it in /functions/{worker_name}.ts??
1 Reply
niconiahi
niconiahiOP8mo ago
oh it seems that I need to create it from a whole different repo?
You must create a Durable Object Worker and bind it to your Pages project using the Cloudflare dashboard or your Pages project’s wrangler.toml. You cannot create and deploy a Durable Object within a Pages project.
You must create a Durable Object Worker and bind it to your Pages project using the Cloudflare dashboard or your Pages project’s wrangler.toml. You cannot create and deploy a Durable Object within a Pages project.
or can they live inside the same repo? how?
Want results from more Discord servers?
Add your server