diff --git a/packages/integrations/deno/README.md b/packages/integrations/deno/README.md index 62df9c2eb..6030aa2c9 100644 --- a/packages/integrations/deno/README.md +++ b/packages/integrations/deno/README.md @@ -130,7 +130,7 @@ export default defineConfig({ If you disable this, you need to write your own Deno web server. Import and call `handle` from the generated entry script to render requests: ```ts -import { serve } from "https://deno.land/std@0.132.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.167.0/http/server.ts"; import { handle } from './dist/entry.mjs'; serve((req: Request) => { diff --git a/packages/integrations/deno/src/server.ts b/packages/integrations/deno/src/server.ts index 9dd000889..00e1c43db 100644 --- a/packages/integrations/deno/src/server.ts +++ b/packages/integrations/deno/src/server.ts @@ -2,7 +2,7 @@ import type { SSRManifest } from 'astro'; import { App } from 'astro/app'; // @ts-ignore -import { Server } from 'https://deno.land/std@0.132.0/http/server.ts'; +import { Server } from 'https://deno.land/std@0.167.0/http/server.ts'; // @ts-ignore import { fetch } from 'https://deno.land/x/file_fetch/mod.ts';