Fix typos (#39)

This commit is contained in:
mrpetrocket 2019-03-24 15:35:21 -05:00 committed by Romain Lanz
parent 44d80187c6
commit 7b9affcb8f

View File

@ -10,7 +10,7 @@ module.exports = {
| Application Name | Application Name
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This value is the name of your application and can used when you | This value is the name of your application and can be used when you
| need to place the application's name in a email, view or | need to place the application's name in a email, view or
| other location. | other location.
| |
@ -35,7 +35,7 @@ module.exports = {
| Allow Method Spoofing | Allow Method Spoofing
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Method spoofing allows to make requests by spoofing the http verb. | Method spoofing allows you to make requests by spoofing the http verb.
| Which means you can make a GET request but instruct the server to | Which means you can make a GET request but instruct the server to
| treat as a POST or PUT request. If you want this feature, set the | treat as a POST or PUT request. If you want this feature, set the
| below value to true. | below value to true.
@ -48,10 +48,10 @@ module.exports = {
| Trust Proxy | Trust Proxy
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Trust proxy defines whether X-Forwaded-* headers should be trusted or not. | Trust proxy defines whether X-Forwarded-* headers should be trusted or not.
| When your application is behind a proxy server like nginx, these values | When your application is behind a proxy server like nginx, these values
| are set automatically and should be trusted. Apart from setting it | are set automatically and should be trusted. Apart from setting it
| to true or false Adonis supports handful or ways to allow proxy | to true or false Adonis supports a handful of ways to allow proxy
| values. Read documentation for that. | values. Read documentation for that.
| |
*/ */
@ -62,7 +62,7 @@ module.exports = {
| Subdomains | Subdomains
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Offset to be used for returning subdomains for a given request.For | Offset to be used for returning subdomains for a given request. For
| majority of applications it will be 2, until you have nested | majority of applications it will be 2, until you have nested
| sudomains. | sudomains.
| cheatsheet.adonisjs.com - offset - 2 | cheatsheet.adonisjs.com - offset - 2
@ -88,7 +88,7 @@ module.exports = {
| Etag | Etag
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Set etag on all HTTP response. In order to disable for selected routes, | Set etag on all HTTP responses. In order to disable for selected routes,
| you can call the `response.send` with an options object as follows. | you can call the `response.send` with an options object as follows.
| |
| response.send('Hello', { ignoreEtag: true }) | response.send('Hello', { ignoreEtag: true })
@ -116,9 +116,9 @@ module.exports = {
| Dot Files | Dot Files
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Define how to treat dot files when trying to server static resources. | Define how to treat dot files when trying to serve static resources.
| By default it is set to ignore, which will pretend that dotfiles | By default it is set to ignore, which will pretend that dotfiles
| does not exists. | do not exist.
| |
| Can be one of the following | Can be one of the following
| ignore, deny, allow | ignore, deny, allow