diff options
Diffstat (limited to 'tools/deno_http_proxy.ts')
-rw-r--r-- | tools/deno_http_proxy.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/deno_http_proxy.ts b/tools/deno_http_proxy.ts index 589a14338..6e5141377 100644 --- a/tools/deno_http_proxy.ts +++ b/tools/deno_http_proxy.ts @@ -9,7 +9,7 @@ async function proxyRequest(req: ServerRequest): Promise<void> { const url = `http://${originAddr}${req.url}`; const resp = await fetch(url, { method: req.method, - headers: req.headers + headers: req.headers, }); req.respond(resp); } |