From 592e90c3c27e05e7fa0372fa7f7bbdf8f92f683c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 14 May 2019 17:49:53 -0400 Subject: [PATCH] http_bench: print address (denoland/deno_std#374) Original: https://github.com/denoland/deno_std/commit/f10ea7317e68dd9c1d272e7fff7e9531c301e07c --- http/http_bench.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/http/http_bench.ts b/http/http_bench.ts index c4d7add0d4..6d72d4be6a 100644 --- a/http/http_bench.ts +++ b/http/http_bench.ts @@ -7,6 +7,7 @@ const server = serve(addr); const body = new TextEncoder().encode("Hello World"); async function main(): Promise { + console.log(`http://${addr}/`); for await (const request of server) { request.respond({ status: 200, body }); }