diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-06-24 10:36:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 10:36:15 +0200 |
commit | 9273cbb786c1adcf43e0dcb993b769515e9dba30 (patch) | |
tree | 4dc07ad8ebb49590d2f786b1143f2fd606cee72e /cli/bench/http/deno_http_serve.js | |
parent | 76bff33a193c12389f7c99f2eb3efa1deacc5bf7 (diff) |
bench: fix benchmarks (#19600)
Diffstat (limited to 'cli/bench/http/deno_http_serve.js')
-rw-r--r-- | cli/bench/http/deno_http_serve.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/http/deno_http_serve.js b/cli/bench/http/deno_http_serve.js index 989dc82e8..6d2cabd03 100644 --- a/cli/bench/http/deno_http_serve.js +++ b/cli/bench/http/deno_http_serve.js @@ -8,4 +8,4 @@ function handler() { return new Response("Hello World"); } -serve({ hostname, port, reusePort: true }, handler); +serve({ hostname, port: Number(port), reusePort: true }, handler); |