summaryrefslogtreecommitdiff
path: root/cli/bench/websocket
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/websocket')
-rw-r--r--cli/bench/websocket/deno_echo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/websocket/deno_echo.js b/cli/bench/websocket/deno_echo.js
index 70e64dcbe..1cb63eb7f 100644
--- a/cli/bench/websocket/deno_echo.js
+++ b/cli/bench/websocket/deno_echo.js
@@ -22,4 +22,4 @@ function handler(request) {
return response;
}
-serve(handler, { port: parseInt(port), hostname: "0.0.0.0" });
+serve({ port: parseInt(port), hostname: "0.0.0.0" }, handler);