This commit is contained in:
austnv
2026-06-14 16:33:56 +03:00
parent 7929a8fc6a
commit f24a1e21d7
+1
View File
@@ -172,6 +172,7 @@ async def get_ip(request: Request):
response = await client.get(f'https://ipinfo.io/{client_ip}') response = await client.get(f'https://ipinfo.io/{client_ip}')
html = response.text html = response.text
logging.info(f'html: {html}')
ipinfo = IPInfo(html) ipinfo = IPInfo(html)
return ipinfo.dict() return ipinfo.dict()