summaryrefslogtreecommitdiff
path: root/std/http/racing_server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/http/racing_server.ts')
-rw-r--r--std/http/racing_server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/http/racing_server.ts b/std/http/racing_server.ts
index 693531a7f..0b0e5a8a5 100644
--- a/std/http/racing_server.ts
+++ b/std/http/racing_server.ts
@@ -2,7 +2,7 @@
import { serve, ServerRequest } from "./server.ts";
import { delay } from "../util/async.ts";
-const addr = Deno.args[0] || "127.0.0.1:4501";
+const addr = Deno.args[1] || "127.0.0.1:4501";
const server = serve(addr);
function body(i: number): string {