diff --git a/app/app.py b/app/app.py index ecc7807..2723e33 100644 --- a/app/app.py +++ b/app/app.py @@ -764,6 +764,9 @@ def create_app(args): frontendTimeout: type: integer description: Frontend translation timeout + apiKeys: + type: boolean + description: Whether the API key database is enabled. keyRequired: type: boolean description: Whether an API key is required. @@ -801,6 +804,7 @@ def create_app(args): { "charLimit": args.char_limit, "frontendTimeout": args.frontend_timeout, + "apiKeys": args.api_keys, "keyRequired": bool(args.api_keys and args.require_api_key_origin), "suggestions": args.suggestions, "filesTranslation": not args.disable_files_translation,