wrangler dev not usable every day at lunch time. Keep hanging connection new before Response.redirectfetch so the entire thing could be simplified down toreq object as the second argument to fetchnewResponse.redirectreqreturn new Response(null, {
status: 307, // temporary redirect
headers: {
location: 'https://...'
}
})export default {
fetch(req) {
return fetch("http://localhost:9000/", req);
}
}