Skip to content

Commit

Permalink
Use manual redirects (#6)
Browse files Browse the repository at this point in the history
* Use manual redirects

Signed-off-by: Marcos Candeia <[email protected]>

* Use manual redirect

Signed-off-by: Marcos Candeia <[email protected]>

---------

Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia authored Sep 16, 2024
1 parent 41c2e34 commit d89547d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions handlers.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit d89547d

Please sign in to comment.