Really weird What do you get if you just
Really weird. What do you get if you just
console.log(request.url)
, without any formatting?4 Replies
In my Pages Function, it looks like this:
http://fake.host/experimenter/v1/
. When I log it from inside the Durable Object, the very same call looks like this: http://0.0.0.0:49791/experimenter/v1
Oh, that looks like some internal
wrangler
shenanigans. That makes more sense
If you fetch that port directly, do you get the response you would expect from the DO?Yes
Huh, ok, might be a bug then in local dev...