##// END OF EJS Templates
dispatch: set ui.insecureconnections when --insecure is used
Gregory Szorc -
r29110:b197e2ab default
parent child Browse files
Show More
@@ -829,6 +829,8 b' def _dispatch(req):'
829
829
830 if cmdoptions.get('insecure', False):
830 if cmdoptions.get('insecure', False):
831 for ui_ in uis:
831 for ui_ in uis:
832 ui_.insecureconnections = True
833 # TODO remove once consumers are gone.
832 ui_.setconfig('web', 'cacerts', '!', '--insecure')
834 ui_.setconfig('web', 'cacerts', '!', '--insecure')
833
835
834 if options['version']:
836 if options['version']:
General Comments 0
You need to be logged in to leave comments. Login now