diff options
author | Zert3x <81202811+Zert3x@users.noreply.github.com> | 2023-05-28 21:40:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 21:40:21 -0400 |
commit | 09b163f8de0392fcf577ac31e0f1f900d182467f (patch) | |
tree | 1141ac32618c4dc11af363dc75028ac261440f4a /src/gateway | |
parent | Update ipAddress.ts (diff) | |
download | server-09b163f8de0392fcf577ac31e0f1f900d182467f.tar.xz |
Update Connection.ts
Diffstat (limited to 'src/gateway')
-rw-r--r-- | src/gateway/events/Connection.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/events/Connection.ts b/src/gateway/events/Connection.ts index 68273ace..1991ebbe 100644 --- a/src/gateway/events/Connection.ts +++ b/src/gateway/events/Connection.ts @@ -45,7 +45,7 @@ export async function Connection( socket: WebSocket, request: IncomingMessage, ) { - const forwardedFor = Config.get().security.forwadedFor; + const forwardedFor = Config.get().security.forwardedFor; const ipAddress = forwardedFor ? (request.headers[forwardedFor] as string) : request.socket.remoteAddress; |