Skip to content

Commit

Permalink
Integration READMEs code block sweep 🧹 (#5455)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored Nov 22, 2022
1 parent 46fd4b5 commit 18778dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/integrations/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ If you prefer to install the adapter manually instead, complete the following tw

1. Add two new lines to your `astro.config.mjs` project configuration file.

```js title="astro.config.mjs" ins={2, 5-8}
```js ins={3, 6-9}
// astro.config.mjs
import { defineConfig } from 'astro/config';
import node from '@astrojs/node';
Expand Down Expand Up @@ -134,7 +135,8 @@ SERVER_KEY_PATH=./private/key.pem SERVER_CERT_PATH=./private/cert.pem node ./dis
You may see this when running the entry script if it was built with npm or Yarn. This is a [known issue](https://github.com/withastro/astro/issues/4974) that will be fixed in a future release. As a workaround, add `"path-to-regexp"` to the `noExternal` array:
```js title="astro.config.mjs" ins={8-12}
```js ins={9-13}
// astro.config.mjs
import { defineConfig } from 'astro/config';
import node from "@astrojs/node";
Expand Down

0 comments on commit 18778dc

Please sign in to comment.