mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-24 01:12:56 -04:00
Tweak fingerprint
This commit is contained in:
parent
f2268fe4d9
commit
d8f9121009
@ -103,7 +103,7 @@ def get_remote_address():
|
||||
return ip
|
||||
|
||||
def get_fingerprint():
|
||||
return request.headers.get("User-Agent", "") + "|" + request.headers.get("Cookie", "")
|
||||
return request.headers.get("User-Agent", "") + request.headers.get("Cookie", "")
|
||||
|
||||
|
||||
def get_req_limits(default_limit, api_keys_db, db_multiplier=1, multiplier=1):
|
||||
|
Loading…
x
Reference in New Issue
Block a user