praca za proxy

This commit is contained in:
Mateusz Gruszczyński
2025-10-06 09:35:15 +02:00
parent 06b23dcd96
commit 203b816e8d

View File

@@ -95,7 +95,7 @@ def get_client_ip(request: Request) -> str:
norm_ips.append(v)
if norm_ips:
if settings.trusted_prox ies:
if settings.trusted_proxies:
# zdejmuj od PRAWEJ strony zaufane hopy
tmp = norm_ips[:]
while tmp and _is_ip_trusted(tmp[-1]):