fix: disable SHOW_STACKTRACE by default (#24137)

This commit is contained in:
Daniel Vaz Gaspar 2023-05-22 10:00:07 +01:00 committed by GitHub
parent fc8c537118
commit 82d4249e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -265,9 +265,9 @@ FLASK_USE_RELOAD = True
PROFILING = False
# Superset allows server-side python stacktraces to be surfaced to the
# user when this feature is on. This may has security implications
# user when this feature is on. This may have security implications
# and it's more secure to turn it off in production settings.
SHOW_STACKTRACE = True
SHOW_STACKTRACE = False
# Use all X-Forwarded headers when ENABLE_PROXY_FIX is True.
# When proxying to a different port, set "x_port" to 0 to avoid downstream issues.