diff --git a/superset/config.py b/superset/config.py index 9ff7005395ad..3334a5594806 100644 --- a/superset/config.py +++ b/superset/config.py @@ -1381,7 +1381,6 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument }, "content_security_policy_nonce_in": ["script-src"], "force_https": False, - "force_https_permanent": False, } # React requires `eval` to work correctly in dev mode TALISMAN_DEV_CONFIG = { @@ -1399,6 +1398,7 @@ def EMAIL_HEADER_MUTATOR( # pylint: disable=invalid-name,unused-argument "script-src": ["'self'", "'unsafe-inline'", "'unsafe-eval'"], }, "content_security_policy_nonce_in": ["script-src"], + "force_https": False, } #