disable flask toolbar by default

This commit is contained in:
Son NK 2021-03-06 17:44:40 +01:00
parent 31ff8b962b
commit 3494f314bc

View file

@ -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: