mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
non-local condition
This commit is contained in:
parent
896fde789e
commit
e422f19ee9
2 changed files with 2 additions and 2 deletions
|
|
@ -15,4 +15,4 @@ else:
|
|||
cmd_opts, _ = parser.parse_known_args()
|
||||
|
||||
|
||||
cmd_opts.disable_extension_access = (cmd_opts.share or cmd_opts.listen or cmd_opts.server_name) and not cmd_opts.enable_insecure_extension_access
|
||||
cmd_opts.disable_extension_access = any([cmd_opts.share, cmd_opts.listen, cmd_opts.ngrok, cmd_opts.server_name]) and not cmd_opts.enable_insecure_extension_access
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue