`wrangler pages dev -- astro dev` fails to follow Astro redirects

Astro project with wrangler pages dev -- astro dev and default adapter fails to properly execute an Astro redirect return context.redirect("/login", 302) with [wrangler] Could not proxy request: TypeError: fetch failed.

Deployed version works. Only dev fails.

Astro runs on localhost:3000, and Wrangler on localhost:8788

Node 18.18.2
Was this page helpful?