mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 17:35:27 +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()
|
||||
|
||||
# enable flask toolbar
|
||||
app.config["DEBUG_TB_PROFILER_ENABLED"] = True
|
||||
app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = False
|
||||
app.debug = True
|
||||
DebugToolbarExtension(app)
|
||||
# app.config["DEBUG_TB_PROFILER_ENABLED"] = True
|
||||
# app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = False
|
||||
# app.debug = True
|
||||
# DebugToolbarExtension(app)
|
||||
|
||||
# warning: only used in local
|
||||
if RESET_DB:
|
||||
|
|
Loading…
Reference in a new issue