diff --git a/docs/guide/ssr.md b/docs/guide/ssr.md index 6defcd69dec1a6..3ff4337aaf4b9f 100644 --- a/docs/guide/ssr.md +++ b/docs/guide/ssr.md @@ -61,7 +61,7 @@ When building an SSR app, you likely want to have full control over your main se **server.js** -```js{17-19} +```js{15-18} import fs from 'fs' import path from 'path' import { fileURLToPath } from 'url' diff --git a/docs/guide/static-deploy.md b/docs/guide/static-deploy.md index 756f6a9c85d010..534e77639c5f29 100644 --- a/docs/guide/static-deploy.md +++ b/docs/guide/static-deploy.md @@ -64,7 +64,7 @@ Now the `preview` command will launch the server at `http://localhost:8080`. 2. Inside your project, create `deploy.sh` with the following content (with highlighted lines uncommented appropriately), and run it to deploy: - ```bash{13,20,23} + ```bash{13,21,24} #!/usr/bin/env sh # abort on errors