Merge branch 'develop' into idac

This commit is contained in:
Dniel97 committed 2024-04-01 20:09:34 +02:00
commit c741c052e9
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -34,7 +34,8 @@ class Utils:
@classmethod
def get_ip_addr(cls, req: Request) -> str:
return req.headers.get("x-forwarded-for", req.client.host)
ip = req.headers.get("x-forwarded-for", req.client.host)
return ip.split(", ")[0]
@classmethod
def get_title_port(cls, cfg: CoreConfig):