feat: add geolocation to download logs (country, city via ip-api.com)
This commit is contained in:
@@ -95,6 +95,9 @@ class DownloadLogInfo(BaseModel):
|
||||
user_agent: str
|
||||
browser: str
|
||||
device: str
|
||||
country_code: str = ""
|
||||
country: str = ""
|
||||
city: str = ""
|
||||
downloaded_at: datetime
|
||||
|
||||
class Config:
|
||||
|
||||
Reference in New Issue
Block a user