Skip to content

Commit 1bb9619

Browse files
Update content/security/rate-limiting.md
1 parent a144d22 commit 1bb9619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/rate-limiting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class WsThrottlerGuard extends ThrottlerGuard {
121121
There's a few things to keep in mind when working with WebSockets:
122122

123123
- You cannot bind the guard with `APP_GUARD` or `app.useGlobalGuards()` due to how Nest binds global guards.
124-
- When a limit is reached, Nest will emit an `exception` event, so make sure there is a listener ready for this.
124+
- When a limit is reached, Nest will emit an `exception` event, so make sure there is a listener ready for this
125125

126126
> info **Hint** If you are using the `@nestjs/platform-ws` package you can use `client._socket.remoteAddress` instead.
127127

0 commit comments

Comments
 (0)