mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
bench: fix benchmarks (#19600)
This commit is contained in:
parent
76bff33a19
commit
9273cbb786
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -18,6 +18,6 @@ const headers = {
|
|||
},
|
||||
};
|
||||
|
||||
serve({ hostname, port }, async () => {
|
||||
serve({ hostname, port: Number(port) }, async () => {
|
||||
return new Response(await renderToReadableStream(<App />), headers);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue