diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-06-14 18:30:16 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-14 18:30:16 +1000 |
commit | bf079ffa7a6211ee7387cf2c4f446d769a88fb5c (patch) | |
tree | 33b5389bc40e03943e118cbbc959d046a23c212a /src/gateway/events/Connection.ts | |
parent | Merge pull request #1069 from ngn13/pass_length_check (diff) | |
parent | Update Connection.ts (diff) | |
download | server-bf079ffa7a6211ee7387cf2c4f446d769a88fb5c.tar.xz |
Merge pull request #1066 from Zert3x/master
Fix a typo
Diffstat (limited to 'src/gateway/events/Connection.ts')
-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; |