Skip to content

Commit 8f59061

Browse files
authored
style: remove trailing whitespace (#478)
1 parent 2860751 commit 8f59061

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
@@ -198,15 +198,15 @@ with `ignoreTrailingSlash` set to `true`.
198198

199199
Default: `(pathName, root, request) => true`
200200

201-
This function allows filtering the served files. Also, with the help of the request object a more complex path authentication is possible.
201+
This function allows filtering the served files. Also, with the help of the request object a more complex path authentication is possible.
202202
If the function returns `true`, the file will be served.
203203
If the function returns `false`, Fastify's 404 handler will be called.
204204

205205
#### `index`
206206

207207
Default: `undefined`
208208

209-
Under the hood we use [send](https://github.com/pillarjs/send#index) lib that by default supports "index.html" files.
209+
Under the hood we use [send](https://github.com/pillarjs/send#index) lib that by default supports "index.html" files.
210210
To disable this set false or to supply a new index pass a string or an array in preferred order.
211211

212212
#### `serveDotFiles`
@@ -469,7 +469,7 @@ app.register((childContext, _, done) => {
469469
}, { prefix: 'docs' });
470470
```
471471

472-
This code will send the `index.html` for the paths `docs`, `docs/`, and `docs/index.html`. For all other `docs/<undefined-routes>` it will reply with `404.html`.
472+
This code will send the `index.html` for the paths `docs`, `docs/`, and `docs/index.html`. For all other `docs/<undefined-routes>` it will reply with `404.html`.
473473

474474
### Handling Errors
475475

0 commit comments

Comments
 (0)