diff options
Diffstat (limited to 'cli/bench/http/deno_http_flash.js')
-rw-r--r-- | cli/bench/http/deno_http_flash.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/bench/http/deno_http_flash.js b/cli/bench/http/deno_http_flash.js deleted file mode 100644 index a0db62630..000000000 --- a/cli/bench/http/deno_http_flash.js +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. - -const addr = Deno.args[0] ?? "127.0.0.1:4500"; -const [hostname, port] = addr.split(":"); -const { serve } = Deno; - -function handler() { - return new Response("Hello World"); -} - -serve(handler, { hostname, port, reusePort: true }); |