@@ -2021,7 +2021,7 @@ following options:
2021
2021
the following options:
2022
2022
- ` origin ` - a strings array of allowed origin servers ('Access-Control-Allow-Origin').
2023
2023
The array can contain any combination of fully qualified origins along with origin
2024
- strings containing a wilcard '* ' character, or a single ` '*' ` origin string. Defaults
2024
+ strings containing a wildcard '* ' character, or a single ` '*' ` origin string. Defaults
2025
2025
to any origin ` ['*'] ` .
2026
2026
- ` matchOrigin ` - if ` true ` , matches the value of the incoming 'Origin' header to the
2027
2027
list of ` origin ` values ('* ' matches anything) and if a match is found, uses that as
@@ -2058,7 +2058,7 @@ following options:
2058
2058
2059
2059
- ` handler ` - an alternative location for the route ` handler ` option.
2060
2060
2061
- - ` id ` - an optional unique indentifier used to look up the route using
2061
+ - ` id ` - an optional unique identifier used to look up the route using
2062
2062
[ ` server.lookup() ` ] ( #serverlookupid ) .
2063
2063
2064
2064
- ` json ` - optional arguments passed to ` JSON.stringify() ` when converting an object or
@@ -2417,7 +2417,7 @@ config to an object containing one of these keys:
2417
2417
- ` 'attachment' `
2418
2418
- ` 'inline' `
2419
2419
- ` lookupCompressed ` - if ` true ` , looks for the same filename with the '.gz' suffix
2420
- for a precompressed version of the file to serve if the request supports content
2420
+ for a pre-compressed version of the file to serve if the request supports content
2421
2421
encoding. Defaults to ` false ` .
2422
2422
2423
2423
- ` directory ` - generates a directory endpoint for serving static content from a directory.
@@ -3127,7 +3127,7 @@ error generation. **boom** provides an expressive interface to return HTTP error
3127
3127
returned via the [ reply interface] ( #reply-interface ) is converted to a ** boom** object and defaults
3128
3128
to status code ` 500 ` if the error is not a ** boom** object.
3129
3129
3130
- When the error is sent back to the client, the responses contians a JSON object with the
3130
+ When the error is sent back to the client, the responses contains a JSON object with the
3131
3131
` statusCode ` , ` error ` , and ` message ` keys.
3132
3132
3133
3133
``` js
@@ -3283,7 +3283,7 @@ based on filename extension.:
3283
3283
- ` 'attachment' `
3284
3284
- ` 'inline' `
3285
3285
- ` lookupCompressed ` - if ` true ` , looks for the same filename with the '.gz' suffix for a
3286
- precompressed version of the file to serve if the request supports content encoding.
3286
+ pre-compressed version of the file to serve if the request supports content encoding.
3287
3287
Defaults to ` false ` .
3288
3288
3289
3289
No return value.
0 commit comments