disabled redirect interception for debug_toolbar

This commit is contained in:
eclipse 2025-05-06 12:16:58 +02:00
parent b7baad340a
commit 7324d9c230

View File

@ -34,6 +34,7 @@ def create_app():
### DEBUG
toolbar = DebugToolbarExtension(app)
app.config['DEBUG_TB_INTERCEPT_REDIRECTS'] = False
app.config["SQLALCHEMY_ECHO"] = True
app.config['SQLALCHEMY_RECORD_QUERIES'] = os.getenv("SQLALCHEMY_RECORD_QUERIES")
print(f"Current Environment: " + app.config['ENVIRONMENT'])