debug
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ async def get_ip(request: Request):
|
||||
response = await client.get(f'https://ipinfo.io/{client_ip}')
|
||||
|
||||
html = response.text
|
||||
logging.info(f'html: {html}')
|
||||
ipinfo = IPInfo(html)
|
||||
logging.info(ipinfo._data)
|
||||
|
||||
return ipinfo.dict()
|
||||
Reference in New Issue
Block a user