summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Elian ☕️ <hello@elian.codes> 2023-08-04 15:14:31 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-04 09:14:31 -0400
commitf3b234b2582bda3664f5b371830944cbe41f9680 (patch)
tree716767f06bdfaba3fa16526b547d0c195ae9428a
parenta00cfb89429003b6e1ad28ec8cc6d46ab4ed244b (diff)
downloadastro-f3b234b2582bda3664f5b371830944cbe41f9680.tar.gz
astro-f3b234b2582bda3664f5b371830944cbe41f9680.tar.zst
astro-f3b234b2582bda3664f5b371830944cbe41f9680.zip
chore: update Deno server import path (#7959)
Diffstat (limited to '')
-rw-r--r--packages/integrations/deno/README.md4
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.