summaryrefslogtreecommitdiff
path: root/cli/bench/testdata/deno_upgrade_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/testdata/deno_upgrade_http.js')
-rw-r--r--cli/bench/testdata/deno_upgrade_http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/testdata/deno_upgrade_http.js b/cli/bench/testdata/deno_upgrade_http.js
index ca5533411..a959846ce 100644
--- a/cli/bench/testdata/deno_upgrade_http.js
+++ b/cli/bench/testdata/deno_upgrade_http.js
@@ -9,4 +9,4 @@ async function handler(req) {
await conn.close();
}
-serve(handler, { hostname: "127.0.0.1", port: 9000 });
+serve({ hostname: "127.0.0.1", port: 9000 }, handler);