diff options
author | 不会画画的中医不是好程序员 <yfszzx@gmail.com> | 2022-10-24 14:09:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 14:09:27 +0800 |
commit | 68931242cf66ec34d2e911400b9c9b6defc602e0 (patch) | |
tree | d966eaf5a4acfd3f7eebebe5bf28f20b43168b94 /webui.py | |
parent | f132923d5f8f7a7e3b47b8a60b0ec7750d6d2fad (diff) | |
parent | e9a410b5357612f63528015c5533c2185dcff92e (diff) |
Merge branch 'AUTOMATIC1111:master' into Inspiron
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -139,6 +139,8 @@ def webui(): inbrowser=cmd_opts.autolaunch,
prevent_thread_lock=True
)
+ # after initial launch, disable --autolaunch for subsequent restarts
+ cmd_opts.autolaunch = False
app.add_middleware(GZipMiddleware, minimum_size=1000)
|