What's the proper way to set up a Durable Object that's only used by a Pages Function?
Right now, I have a setup like this:
- I have the Durable Object deployed as its own Worker.
- I have a Pages Function script with a Durable Object binding. It exports an
onRequestGet()implementation that parses the request URL, generates the DO ID from it, and calls
on that DO's stub.fetch()
fetch() function in the DO script. As far as I can tell, that implementation is unused; the Pages Function bypasses it. So it feels like I'm doing something wrong?