summaryrefslogtreecommitdiff
path: root/tools/deno_http_proxy.ts
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-09-16 23:25:32 +0200
committerBert Belder <bertbelder@gmail.com>2019-09-16 23:30:56 +0200
commit02cb34d8ad320360c800b9af7b941990c48b9742 (patch)
treef918c80c2ac5036bcda5ec739ff404c35b6be33b /tools/deno_http_proxy.ts
parentc6afe87febc92ca64e81c1d99a62daacf75dba0a (diff)
Fix and enable linting of deno_typescript/*, tools/*, website/* (#2962)
Diffstat (limited to 'tools/deno_http_proxy.ts')
-rw-r--r--tools/deno_http_proxy.ts2
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,