From af033c02c5fbaade201abfe332f376879d9e6885 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Thu, 13 Oct 2022 15:32:25 -0700 Subject: Fix bench --- bench/react-hello-world/react-hello-world.deno.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench/react-hello-world/react-hello-world.deno.jsx') diff --git a/bench/react-hello-world/react-hello-world.deno.jsx b/bench/react-hello-world/react-hello-world.deno.jsx index 2b0bb9b74..fabbfcfcb 100644 --- a/bench/react-hello-world/react-hello-world.deno.jsx +++ b/bench/react-hello-world/react-hello-world.deno.jsx @@ -1,11 +1,11 @@ import { renderToReadableStream } from "https://esm.run/react-dom/server"; -import { serve } from "https://deno.land/std@0.146.0/http/server.ts"; import * as React from "https://esm.run/react"; const App = () => (
This is an example.
); @@ -17,7 +17,7 @@ const headers = { }, }; -await serve( +Deno.serve( async (req) => { return new Response(await renderToReadableStream(