after initial launch, disable --autolaunch for subsequent restarts
This commit is contained in:
parent
1ef32c8b8f
commit
696cb33e50
2
webui.py
2
webui.py
|
@ -135,6 +135,8 @@ def webui():
|
||||||
inbrowser=cmd_opts.autolaunch,
|
inbrowser=cmd_opts.autolaunch,
|
||||||
prevent_thread_lock=True
|
prevent_thread_lock=True
|
||||||
)
|
)
|
||||||
|
# after initial launch, disable --autolaunch for subsequent restarts
|
||||||
|
cmd_opts.autolaunch = False
|
||||||
|
|
||||||
app.add_middleware(GZipMiddleware, minimum_size=1000)
|
app.add_middleware(GZipMiddleware, minimum_size=1000)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user