mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-10 03:02:13 -08:00
Merge pull request #12814 from AUTOMATIC1111/non-local-condition
non-local condition
This commit is contained in:
parent
d0d5075914
commit
bfc5c08109
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