aboutsummaryrefslogtreecommitdiff
path: root/modules/cmd_args.py
diff options
context:
space:
mode:
authorGarrett Sutula <garrettsutula@gmail.com>2023-04-27 20:29:21 -0400
committerGarrett Sutula <garrettsutula@gmail.com>2023-04-27 20:29:21 -0400
commit43186ad08407c08835f5678d10c7600e23b7fe8f (patch)
treeac5f818a8d41c129e4eb3542b03287c67bd24bc8 /modules/cmd_args.py
parent22bcc7be428c94e9408f589966c2040187245d81 (diff)
Add tls_verify arg for use with self-signed certs
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r--modules/cmd_args.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py
index 81c0b82a..3aeecdcc 100644
--- a/modules/cmd_args.py
+++ b/modules/cmd_args.py
@@ -95,6 +95,7 @@ parser.add_argument("--cors-allow-origins", type=str, help="Allowed CORS origin(
parser.add_argument("--cors-allow-origins-regex", type=str, help="Allowed CORS origin(s) in the form of a single regular expression", default=None)
parser.add_argument("--tls-keyfile", type=str, help="Partially enables TLS, requires --tls-certfile to fully function", default=None)
parser.add_argument("--tls-certfile", type=str, help="Partially enables TLS, requires --tls-keyfile to fully function", default=None)
+parser.add_argument("--tls-verify", type=bool, help="Enables the use of self-signed certificates when set to False", default=None)
parser.add_argument("--server-name", type=str, help="Sets hostname of server", default=None)
parser.add_argument("--gradio-queue", action='store_true', help="does not do anything", default=True)
parser.add_argument("--no-gradio-queue", action='store_true', help="Disables gradio queue; causes the webpage to use http requests instead of websockets; was the defaul in earlier versions")