diff options
Diffstat (limited to '')
-rw-r--r-- | packages/integrations/deno/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/deno/README.md b/packages/integrations/deno/README.md index 01908317b..4e0caff90 100644 --- a/packages/integrations/deno/README.md +++ b/packages/integrations/deno/README.md @@ -81,7 +81,7 @@ npm run preview After [performing a build](https://docs.astro.build/en/guides/deploy/#building-your-site-locally) there will be a `dist/server/entry.mjs` module. You can start a server by importing this module in your Deno app: ```js -import './dist/entry.mjs'; +import './dist/server/entry.mjs'; ``` See the `start` option below for how you can have more control over starting the Astro server. @@ -129,7 +129,7 @@ If you disable this, you need to write your own Deno web server. Import and call ```ts import { serve } from 'https://deno.land/std@0.167.0/http/server.ts'; -import { handle } from './dist/entry.mjs'; +import { handle } from './dist/server/entry.mjs'; serve((req: Request) => { // Check the request, maybe do static file handling here. |