summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_flash_send_file.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-04-26 23:59:32 +0200
committerGitHub <noreply@github.com>2023-04-26 21:59:32 +0000
commit7415aff983333ae45badfd43c3db35d39ad37b79 (patch)
treea6bea2f24ba181b4dcaec0e72345bc5e0057f7a7 /cli/bench/http/deno_flash_send_file.js
parent3d8a4d3b81e107bbb152ad69047f64d16ca800f3 (diff)
bench: fix more benchmarks (#18864)
Diffstat (limited to 'cli/bench/http/deno_flash_send_file.js')
-rw-r--r--cli/bench/http/deno_flash_send_file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/http/deno_flash_send_file.js b/cli/bench/http/deno_flash_send_file.js
index b613a6164..979b80bf4 100644
--- a/cli/bench/http/deno_flash_send_file.js
+++ b/cli/bench/http/deno_flash_send_file.js
@@ -11,4 +11,4 @@ function handler() {
return new Response(file.readable);
}
-serve(handler, { hostname, port: Number(port) });
+serve({ hostname, port: Number(port) }, handler);