Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nfriedly committed Nov 8, 2023
1 parent b818476 commit c347de4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ If you need help with something, feel free to
[start a discussion](https://github.com/express-rate-limit/express-rate-limit/discussions/new)!

If you wish to contribute to the library, thanks! First, please read
[the contributing guide](/guides/contributing). Then you can pick up any
issue and fix/implement it!
[the contributing guide](/guides/contributing). Then you can pick up any issue
and fix/implement it!

## License

Expand Down
9 changes: 4 additions & 5 deletions docs/quickstart/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,17 @@ app.post('/reset_password', limiter, (req, res) => {
})
```

Take a look at the [configuration page](/references/configuration) for a
list of options you can use to change the behaviour of the limiter.
Take a look at the [configuration page](/references/configuration) for a list of
options you can use to change the behaviour of the limiter.

<Warning>

If your server runs behind a proxy/load balancer, the IP address of the request
might be `undefined`, or the IP of the load balancer/reverse proxy (leading to
the rate limiter blocking **all** requests once the limit is reached).

To fix this, take a look at the
[guide](/guides/troubleshooting-proxy-issues) to troubleshooting proxy
issues.
To fix this, take a look at the [guide](/guides/troubleshooting-proxy-issues) to
troubleshooting proxy issues.

</Warning>

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -373,5 +373,5 @@ Here is a list of external stores:
| [precise-memory-rate-limit](https://www.npm.im/precise-memory-rate-limit) | A memory store similar to the built-in one, except that it stores a distinct timestamp for each key. | Modern as of v2.0.0 |
| [rate-limit-postgresql](https://www.npm.im/@acpr/rate-limit-postgresql) | A [PostgreSQL](https://www.postgresql.org/)-backed store. | Modern as of v1.1.0 |

Take a look at [this guide](/guides/creating-a-store) if you wish to create
your own store.
Take a look at [this guide](/guides/creating-a-store) if you wish to create your
own store.

0 comments on commit c347de4

Please sign in to comment.