diff --git a/deno.json b/deno.json index 3cbdd4f..344352b 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@deco/warp", - "version": "0.3.7", + "version": "0.3.8", "exports": "./mod.ts", "tasks": { "check": "deno fmt && deno lint && deno check mod.ts" diff --git a/handlers.client.ts b/handlers.client.ts index d9de976..75518a0 100644 --- a/handlers.client.ts +++ b/handlers.client.ts @@ -235,6 +235,7 @@ async function doFetch( new URL(request.url, state.localAddr), { ...state.client ? { client: state.client } : {}, + redirect: "manual", method: request.method, headers: state.client ? { ...request.headers, host: request.domain }