Skip to content

Commit 3d95f9b

Browse files
authored
docs(readme): spelling and grammar fixes (#498)
Signed-off-by: Frazer Smith <[email protected]>
1 parent 6d1dcf8 commit 3d95f9b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ If set to false prefix will get trailing "/" at the end. If set to true, prefix
145145

146146
Default: `true`
147147

148-
A flag that define if the fastify route hide-schema attribute is hidden or not
148+
A flag that defines if the fastify route hide-schema attribute is hidden or not
149149

150150
#### `setHeaders`
151151

@@ -431,7 +431,7 @@ This option determines the output format when `json` is selected.
431431

432432
Default: `false`
433433

434-
Try to send the brotli encoded asset first (when supported within the `Accept-Encoding` headers), retry for gzip, then the fall back to the original `pathname`. You may choose to skip compression for smaller files that don't benefit from it.
434+
Try to send the brotli encoded asset first (when supported within the `Accept-Encoding` headers), retry for gzip, and then fall back to the original `pathname`. You may choose to skip compression for smaller files that do not benefit from it.
435435

436436
Assume this structure with the compressed asset as a sibling of the un-compressed counterpart:
437437

@@ -462,7 +462,7 @@ If a request matches the URL `prefix` but a file cannot be found for the
462462
request, Fastify's 404 handler will be called. You can set a custom 404
463463
handler with [`fastify.setNotFoundHandler()`](https://fastify.dev/docs/latest/Reference/Server/#setnotfoundhandler).
464464

465-
When registering `@fastify/static` within an encapsulated context, the `wildcard` option may need to be set to `false` in order to support index resolution and nested not-found-handler:
465+
When registering `@fastify/static` within an encapsulated context, the `wildcard` option may need to be set to `false` to support index resolution and nested not-found-handler:
466466

467467
```js
468468
const app = require('fastify')();

0 commit comments

Comments
 (0)