set DEBUG_TB_INTERCEPT_REDIRECTS=True in local

This commit is contained in:
Son NK 2019-07-06 17:04:26 +02:00 committed by Son NK
parent 2f2f8bef46
commit 5e2fc603cd

View file

@ -265,6 +265,7 @@ if __name__ == "__main__":
app.debug = True
app.config["DEBUG_TB_PROFILER_ENABLED"] = True
app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = False
toolbar = DebugToolbarExtension(app)