👋 I have a NuxtJS project hosted on Cloudflare Pages. I have the need for an advanced mode Worker f

👋 I have a NuxtJS project hosted on Cloudflare Pages. I have the need for an advanced mode Worker function (it requires access to the Stream API). I've created the _worker.js file with the required code. My problem is this: where do I put the file in my source repository for it to be deployed and compiled into the pages code? I see mention of the _worker.js being noticed in the output folder (in deployment logs). But... nothing works, function isn't called, the route I expect it to handle returns a 404...
I've tried the root of the repo and putting it into public. Neither work.
Was this page helpful?