Merge pull request #1066 from Zert3x/master

Fix a typo
This commit is contained in:
Madeline authored and GitHub committed 2023-06-14 18:30:16 +10:00
commit bf079ffa7a
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ export function getIpAdress(req: Request): string {
return (
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
req.headers[Config.get().security.forwadedFor] ||
req.headers[Config.get().security.forwardedFor] ||
req.socket.remoteAddress
);
}