From b882e997e18c0d63aa7a4507df9b71c81c1970d1 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Sun, 15 May 2022 13:29:29 -0500 Subject: graphql: T3993: disable introspection unless set in CLI --- src/conf_mode/http-api.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/conf_mode') diff --git a/src/conf_mode/http-api.py b/src/conf_mode/http-api.py index 1ea7b86cd..04113fc09 100755 --- a/src/conf_mode/http-api.py +++ b/src/conf_mode/http-api.py @@ -68,6 +68,8 @@ def get_config(config=None): if conf.exists('gql'): http_api['gql'] = True + if conf.exists('gql introspection'): + http_api['introspection'] = True if conf.exists('socket'): http_api['socket'] = True -- cgit v1.2.3