Skip to content

Commit

Permalink
update deno to use built in http server
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbinyq committed Apr 8, 2024
1 parent 6edd562 commit 7f9c554
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/classic-remix-compiler/deno/server.ts
Expand Up @@ -9,5 +9,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);

0 comments on commit 7f9c554

Please sign in to comment.