Update deno integration dependencies (#5573)
* Update deno integration dependencies * Update dependency in docs
This commit is contained in:
parent
64b24f0663
commit
5b323b9aaf
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
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
|
```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';
|
import { handle } from './dist/entry.mjs';
|
||||||
|
|
||||||
serve((req: Request) => {
|
serve((req: Request) => {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import type { SSRManifest } from 'astro';
|
import type { SSRManifest } from 'astro';
|
||||||
import { App } from 'astro/app';
|
import { App } from 'astro/app';
|
||||||
// @ts-ignore
|
// @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
|
// @ts-ignore
|
||||||
import { fetch } from 'https://deno.land/x/file_fetch/mod.ts';
|
import { fetch } from 'https://deno.land/x/file_fetch/mod.ts';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue