chore:little fixes and formating and linting and patches

This commit is contained in:
2026-03-31 15:50:54 +02:00
parent a1ce71ffb6
commit 9b197abcfa
815 changed files with 22960 additions and 8982 deletions

View File

@@ -90,7 +90,7 @@ function isValidIp(ip: string): boolean {
export function getClientIpFromHeaders(
headers: Record<string, string | string[] | undefined> | Headers,
overrideHeaderName?: string,
overrideHeaderName?: string
): {
ip: string;
header: string;
@@ -116,7 +116,9 @@ export function getClientIpFromHeaders(
}
}
if (!value) continue;
if (!value) {
continue;
}
// Handle x-forwarded-for (comma separated)
if (headerName === 'x-forwarded-for') {