1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2025-12-05 22:16:40 +02:00

Merge pull request #812 from DL6ER/new/lt_hide_api

Add --hide-api to hide the API request/response fields from the web interface
This commit is contained in:
Piero Toffanin
2025-06-14 21:33:01 +02:00
committed by GitHub
5 changed files with 15 additions and 0 deletions

View File

@@ -446,6 +446,7 @@ def create_app(args):
current_locale=get_locale(),
alternate_locales=get_alternate_locale_links(),
under_attack=args.under_attack,
hide_api=args.hide_api,
))
if args.require_api_key_secret: