Skip to content

Commit

Permalink
docs: update indentation on snippet code (#5418)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony133 committed May 2, 2024
1 parent 345c85e commit bf5d447
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ yarn add fastify

// ESM
import Fastify from 'fastify'

const fastify = Fastify({
logger: true
})
Expand All @@ -150,6 +151,7 @@ with async-await:
```js
// ESM
import Fastify from 'fastify'

const fastify = Fastify({
logger: true
})
Expand Down
2 changes: 2 additions & 0 deletions docs/Guides/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Let's write our first server:

// ESM
import Fastify from 'fastify'

const fastify = Fastify({
logger: true
})
Expand Down Expand Up @@ -68,6 +69,7 @@ Do you prefer to use `async/await`? Fastify supports it out-of-the-box.
```js
// ESM
import Fastify from 'fastify'

const fastify = Fastify({
logger: true
})
Expand Down

0 comments on commit bf5d447

Please sign in to comment.