mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
disable flask toolbar by default
This commit is contained in:
parent
31ff8b962b
commit
3494f314bc
1 changed files with 4 additions and 4 deletions
|
@ -826,10 +826,10 @@ def local_main():
|
||||||
app = create_app()
|
app = create_app()
|
||||||
|
|
||||||
# enable flask toolbar
|
# enable flask toolbar
|
||||||
app.config["DEBUG_TB_PROFILER_ENABLED"] = True
|
# app.config["DEBUG_TB_PROFILER_ENABLED"] = True
|
||||||
app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = False
|
# app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = False
|
||||||
app.debug = True
|
# app.debug = True
|
||||||
DebugToolbarExtension(app)
|
# DebugToolbarExtension(app)
|
||||||
|
|
||||||
# warning: only used in local
|
# warning: only used in local
|
||||||
if RESET_DB:
|
if RESET_DB:
|
||||||
|
|
Loading…
Reference in a new issue