Skip to content

Commit

Permalink
refactor(deno-deploy): use Deno.serve (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree authored Nov 3, 2023
1 parent b4fab4c commit b3dbcb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/entries/deno-deploy.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import "#internal/nitro/virtual/polyfill";
// @ts-ignore
import { serve } from "https://deno.land/std/http/server.ts";
import { nitroApp } from "../app";

serve((request: Request) => {
// @ts-expect-error unknown global Deno
Deno.serve((request: Request) => {
return handleRequest(request);
});

Expand Down

0 comments on commit b3dbcb2

Please sign in to comment.