Skip to content

Commit

Permalink
Remove proxy client to allow host header
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Jul 19, 2024
1 parent 3385e45 commit 11b802f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ export const connectMainThread = async (
const client = typeof Deno.createHttpClient === "function"
? Deno.createHttpClient({
allowHost: true,
proxy: {
url: opts.localAddr,
},
})
: undefined;

Expand Down
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.2.8",
"version": "0.3.0",
"exports": "./mod.ts",
"tasks": {
"check": "deno fmt && deno lint && deno check mod.ts"
Expand Down

0 comments on commit 11b802f

Please sign in to comment.