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 0b775ad07..d7a5dda2d 100644 --- a/tools/deno_http_proxy.ts +++ b/tools/deno_http_proxy.ts @@ -15,7 +15,7 @@ async function main(): Promise<void> { } } -async function proxyRequest(req: ServerRequest) { +async function proxyRequest(req: ServerRequest): Promise<void> { const url = `http://${originAddr}${req.url}`; const resp = await fetch(url, { method: req.method, |