diff --git a/cli/bench/http/deno_http_serve.js b/cli/bench/http/deno_http_serve.js index 989dc82e8a..6d2cabd031 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); diff --git a/cli/bench/http/deno_reactdom_ssr_flash.jsx b/cli/bench/http/deno_reactdom_ssr_flash.jsx index 42c9556245..c23748832f 100644 --- a/cli/bench/http/deno_reactdom_ssr_flash.jsx +++ b/cli/bench/http/deno_reactdom_ssr_flash.jsx @@ -18,6 +18,6 @@ const headers = { }, }; -serve({ hostname, port }, async () => { +serve({ hostname, port: Number(port) }, async () => { return new Response(await renderToReadableStream(), headers); });