You've already forked LibreTranslate
mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-11-29 22:08:02 +02:00
Add fingerprinting mechanism
This commit is contained in:
@@ -147,6 +147,12 @@ def get_args():
|
||||
action="store_true",
|
||||
help="Require use of an API key for programmatic access to the API, unless the client also sends a secret match",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--require-api-key-fingerprint",
|
||||
default=DEFARGS['REQUIRE_API_KEY_FINGERPRINT'],
|
||||
action="store_true",
|
||||
help="Require use of an API key for programmatic access to the API, unless the client also matches a fingerprint",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--shared-storage",
|
||||
type=str,
|
||||
|
||||
Reference in New Issue
Block a user