summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_flash_send_file.js
diff options
context:
space:
mode:
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);