diff --git a/templates/classic-remix-compiler/deno/server.ts b/templates/classic-remix-compiler/deno/server.ts index 3c233f2162c..042199334e2 100644 --- a/templates/classic-remix-compiler/deno/server.ts +++ b/templates/classic-remix-compiler/deno/server.ts @@ -1,7 +1,6 @@ import { createRequestHandlerWithStaticFiles } from "@remix-run/deno"; // Import path interpreted by the Remix compiler import * as build from "@remix-run/dev/server-build"; -import { serve } from "https://deno.land/std@0.128.0/http/server.ts"; const remixHandler = createRequestHandlerWithStaticFiles({ build, @@ -9,5 +8,4 @@ const remixHandler = createRequestHandlerWithStaticFiles({ }); const port = Number(Deno.env.get("PORT")) || 8000; -console.log(`Listening on http://localhost:${port}`); -serve(remixHandler, { port }); +Deno.serve({ port }, remixHandler);